From 8c2a92643b5df0f0aed2fae829fa298f2ec8d625 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Thu, 8 Feb 2018 14:14:37 +0100
Subject: [PATCH] [pmflow][problem] Explicitly initialize gravity to zero

---
 dumux/porousmediumflow/problem.hh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dumux/porousmediumflow/problem.hh b/dumux/porousmediumflow/problem.hh
index a0ab562956..1c8ddee977 100644
--- a/dumux/porousmediumflow/problem.hh
+++ b/dumux/porousmediumflow/problem.hh
@@ -57,6 +57,7 @@ public:
      */
     PorousMediumFlowProblem(std::shared_ptr<const FVGridGeometry> fvGridGeometry)
     : ParentType(fvGridGeometry)
+    , gravity_(0.0)
     , spatialParams_(std::make_shared<SpatialParams>(this->asImp_()))
     {
         // TODO: spatial params init?
-- 
GitLab