From a514dfd078d3afb856e44d368b391ecdd0d9215d Mon Sep 17 00:00:00 2001
From: DennisGlaeser <dennis.glaeser@iws.uni-stuttgart.de>
Date: Fri, 26 Feb 2016 10:13:40 +0100
Subject: [PATCH] [ImplicitProblem] Adjust extrusion factor interface

---
 dumux/implicit/problem.hh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dumux/implicit/problem.hh b/dumux/implicit/problem.hh
index 5a9d925e52..510bd81674 100644
--- a/dumux/implicit/problem.hh
+++ b/dumux/implicit/problem.hh
@@ -489,11 +489,10 @@ public:
      * are assumed to extend 1 m to the back.
      */
     Scalar boxExtrusionFactor(const Element &element,
-                              const FVElementGeometry &fvGeometry,
-                              const int scvIdx) const
+                              const SubControlVolume &scv) const
     {
         // forward to generic interface
-        return asImp_().extrusionFactorAtPos(fvGeometry.subContVol[scvIdx].global);
+        return asImp_().extrusionFactorAtPos(scv.dofPosition());
     }
 
     /*!
-- 
GitLab