From 7baa747f53f2519d5fda75c647b0936097b229e2 Mon Sep 17 00:00:00 2001
From: Wenqing Wang <wenqing.wang@ufz.de>
Date: Thu, 12 Oct 2017 17:15:18 +0200
Subject: [PATCH] [Coupling] Modified some members of Process for setting the
 coupled term

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

diff --git a/ProcessLib/Process.h b/ProcessLib/Process.h
index 4f35961f0cc..e5d9bd3a3b6 100644
--- a/ProcessLib/Process.h
+++ b/ProcessLib/Process.h
@@ -75,8 +75,14 @@ public:
         CoupledSolutionsForStaggeredScheme* const coupled_solutions)
     {
         _coupled_solutions = coupled_solutions;
+
+    }
+    void setDecouplingSchemeType(const bool is_monolithic_scheme)
+    {
+        _is_monolithic_scheme = is_monolithic_scheme;
     }
 
+    bool useMonolithicScheme() const { return _is_monolithic_scheme; }
 
     virtual void setCoupledSolutionsForStaggeredSchemeToLocalAssemblers() {}
     void preAssemble(const double t, GlobalVector const& x) override final;
@@ -89,11 +95,6 @@ public:
                               GlobalMatrix& K, GlobalVector& b,
                               GlobalMatrix& Jac) final;
 
-    void setDecouplingSchemeType(const bool is_monolithic_scheme)
-    {
-        _is_monolithic_scheme = is_monolithic_scheme;
-    }
-
     std::vector<NumLib::IndexValueVector<GlobalIndexType>> const*
     getKnownSolutions(double const t) const final
     {
-- 
GitLab