From 5509039b91b858d63cf1cb0bf979decc4d44ff00 Mon Sep 17 00:00:00 2001
From: Christoph Lehmann <christoph.lehmann@ufz.de>
Date: Sat, 9 Apr 2016 12:20:05 +0200
Subject: [PATCH] [PL] some more privacy

---
 ProcessLib/Process.h | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/ProcessLib/Process.h b/ProcessLib/Process.h
index 9ea4a3cf6d9..1c47fc1386e 100644
--- a/ProcessLib/Process.h
+++ b/ProcessLib/Process.h
@@ -60,9 +60,9 @@ public:
 	Process(MeshLib::Mesh& mesh,
 	        NonlinearSolver& nonlinear_solver,
 	        std::unique_ptr<TimeDiscretization>&& time_discretization)
-	    : _nonlinear_solver(nonlinear_solver)
+	    : _mesh(mesh)
+		, _nonlinear_solver(nonlinear_solver)
 	    , _time_discretization(std::move(time_discretization))
-	    , _mesh(mesh)
 	{}
 
 	virtual ~Process()
@@ -345,26 +345,27 @@ private:
 	}
 
 protected:
+	/// Variables used by this process.
+	std::vector<std::reference_wrapper<ProcessVariable>> _process_variables;
+
+private:
+	unsigned const _integration_order = 2;
+
+	MeshLib::Mesh& _mesh;
 	MeshLib::MeshSubset const* _mesh_subset_all_nodes = nullptr;
 
 	GlobalSetup _global_setup;
 
+	std::unique_ptr<AssemblerLib::LocalToGlobalIndexMap>
+	    _local_to_global_index_map;
+
 	AssemblerLib::SparsityPattern _sparsity_pattern;
 
 	std::vector<DirichletBc<GlobalIndexType>> _dirichlet_bcs;
 	std::vector<std::unique_ptr<NeumannBc<GlobalSetup>>> _neumann_bcs;
 
-	/// Variables used by this process.
-	std::vector<std::reference_wrapper<ProcessVariable>> _process_variables;
-
 	NonlinearSolver& _nonlinear_solver;
 	std::unique_ptr<TimeDiscretization> _time_discretization;
-
-private:
-	MeshLib::Mesh& _mesh;
-	std::unique_ptr<AssemblerLib::LocalToGlobalIndexMap>
-	    _local_to_global_index_map;
-	unsigned const _integration_order = 2;
 };
 
 /// Find a process variable for a name given in the process configuration under
-- 
GitLab