From 300300c499f2f032a21d6e87546d5dd0d95694d5 Mon Sep 17 00:00:00 2001
From: DennisGlaeser <dennis.glaeser@iws.uni-stuttgart.de>
Date: Tue, 23 Feb 2016 14:25:45 +0100
Subject: [PATCH] [2pdfm] uninitialised permeability in volvars

the fracture permeability in the volvars was not set. It is also not called yet which is why there was no segfault. However, one might want to have the possibility to call this function.
---
 dumux/porousmediumflow/2pdfm/implicit/volumevariables.hh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dumux/porousmediumflow/2pdfm/implicit/volumevariables.hh b/dumux/porousmediumflow/2pdfm/implicit/volumevariables.hh
index 1102f67961..a725786243 100644
--- a/dumux/porousmediumflow/2pdfm/implicit/volumevariables.hh
+++ b/dumux/porousmediumflow/2pdfm/implicit/volumevariables.hh
@@ -212,6 +212,8 @@ public:
                                                                   fvGeometry,
                                                                   scvIdx);
 
+        permeabilityFracture_ = problem.spatialParams().intrinsicPermeabilityFracture(element, fvGeometry, scvIdx);
+
         // After modifying the Matrix saturations we have to update the fluid state and the matrix mobilities
         PrimaryVariables updatedMatrixPV;
         updatedMatrixPV[pressureIdx] = priVars[pressureIdx];
-- 
GitLab