From 4d44f7de0fb8d4dd9ac597392af38fef522b4156 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Thu, 21 Jan 2016 01:25:25 +0000 Subject: [PATCH] [PL] Rename GWFP::init() to createLocalAsm(). --- ProcessLib/GroundwaterFlowProcess.h | 4 +--- ProcessLib/Process.h | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ProcessLib/GroundwaterFlowProcess.h b/ProcessLib/GroundwaterFlowProcess.h index ae251fe73ba..5e811c3af70 100644 --- a/ProcessLib/GroundwaterFlowProcess.h +++ b/ProcessLib/GroundwaterFlowProcess.h @@ -166,10 +166,8 @@ public: return "gw_"; } - void init() override + void createLocalAssemblers() override { - DBUG("Initialize GroundwaterFlowProcess."); - if (this->_mesh.getDimension()==1) createLocalAssemblers<1>(); else if (this->_mesh.getDimension()==2) diff --git a/ProcessLib/Process.h b/ProcessLib/Process.h index 44c3e5204aa..7e19c2c3db6 100644 --- a/ProcessLib/Process.h +++ b/ProcessLib/Process.h @@ -49,7 +49,7 @@ public: } /// Process specific initialization called by initialize(). - virtual void init() = 0; + virtual void createLocalAssemblers() = 0; virtual bool assemble(const double delta_t) = 0; virtual std::string getLinearSolverName() const = 0; @@ -86,7 +86,7 @@ public: _global_assembler.reset( new GlobalAssembler(*_A, *_rhs, *_local_to_global_index_map)); - init(); // Execute proces specific initialization. + createLocalAssemblers(); for (auto const& pv : _process_variables) { -- GitLab