From 4b3e644e7759dc74294f523157150916a1a69756 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de>
Date: Tue, 22 May 2018 11:25:02 +0200
Subject: [PATCH] [elastic][problem] return NumEqVector in source function

---
 test/geomechanics/elastic/problem.hh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/test/geomechanics/elastic/problem.hh b/test/geomechanics/elastic/problem.hh
index cc61753cae..b7fab27f9b 100644
--- a/test/geomechanics/elastic/problem.hh
+++ b/test/geomechanics/elastic/problem.hh
@@ -62,6 +62,7 @@ class ElasticProblem : public GeomechanicsFVProblem<TypeTag>
     using Indices = typename GET_PROP_TYPE(TypeTag, ModelTraits)::Indices;
     using BoundaryTypes = typename GET_PROP_TYPE(TypeTag, BoundaryTypes);
     using PrimaryVariables = typename GET_PROP_TYPE(TypeTag, PrimaryVariables);
+    using NumEqVector = typename GET_PROP_TYPE(TypeTag, NumEqVector);
     using ElementVolumeVariables = typename GET_PROP_TYPE(TypeTag, GridVolumeVariables)::LocalView;
 
     using FVGridGeometry = typename GET_PROP_TYPE(TypeTag, FVGridGeometry);
@@ -112,10 +113,10 @@ public:
      * \brief Evaluate the source term for all phases within a given
      *        sub-control-volume.
      */
-    PrimaryVariables source(const Element& element,
-                            const FVElementGeometry& fvGeometry,
-                            const ElementVolumeVariables& elemVolVars,
-                            const SubControlVolume& scv) const
+    NumEqVector source(const Element& element,
+                       const FVElementGeometry& fvGeometry,
+                       const ElementVolumeVariables& elemVolVars,
+                       const SubControlVolume& scv) const
     {
         using std::sin;
         using std::cos;
-- 
GitLab