From 16782d626fabf37500eb55476e72d33cf94e569a Mon Sep 17 00:00:00 2001
From: Andreas Lauser <and@poware.org>
Date: Fri, 2 Sep 2011 12:53:22 +0000
Subject: [PATCH] box: remove missed calles to the problem's spatial parameters
 in the local residual

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@6578 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/boxmodels/common/boxlocalresidual.hh | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/dumux/boxmodels/common/boxlocalresidual.hh b/dumux/boxmodels/common/boxlocalresidual.hh
index 7dbae42acd..d22a826c8f 100644
--- a/dumux/boxmodels/common/boxlocalresidual.hh
+++ b/dumux/boxmodels/common/boxlocalresidual.hh
@@ -537,10 +537,7 @@ protected:
             this->asImp_().computeStorage(storageTerm_[i], i, /*isOldSol=*/false);
             storageTerm_[i] *= 
                 fvElemGeom_().subContVol[i].volume
-                * problem_().spatialParameters().extrusionFactorScv(elem_(),
-                                                                    fvElemGeom_(),
-                                                                    i);
-
+                * curVolVars_(i).extrusionFactor();
         }
     }
 
@@ -555,9 +552,7 @@ protected:
         for (int i=0; i < fvElemGeom_().numVertices; i++)
         {
             Scalar extrusionFactor =
-                problem_().spatialParameters().extrusionFactorScv(elem_(),
-                                                                  fvElemGeom_(),
-                                                                  i);
+                curVolVars_(i).extrusionFactor();
 
             PrimaryVariables tmp(0);
 
-- 
GitLab