From ca78aca0ea494538cb29e78985d6a52523c0a91b Mon Sep 17 00:00:00 2001 From: DennisGlaeser <dennis.glaeser@iws.uni-stuttgart.de> Date: Wed, 25 Oct 2017 14:12:32 +0200 Subject: [PATCH] [mpfa][fvelemgeom] use new getParam method --- dumux/discretization/cellcentered/mpfa/fvelementgeometry.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dumux/discretization/cellcentered/mpfa/fvelementgeometry.hh b/dumux/discretization/cellcentered/mpfa/fvelementgeometry.hh index 35bb083d92..da97b4eb20 100644 --- a/dumux/discretization/cellcentered/mpfa/fvelementgeometry.hh +++ b/dumux/discretization/cellcentered/mpfa/fvelementgeometry.hh @@ -328,7 +328,7 @@ private: const auto& neighborVolVarIndices = fvGridGeometry().neighborVolVarIndices(eIdx); // the quadrature point to be used on the scvf - const Scalar q = GET_PARAM_FROM_GROUP(TypeTag, Scalar, Mpfa, Q); + static const Scalar q = getParamFromGroup<Scalar>(GET_PROP_VALUE(TypeTag, ModelParameterGroup), "Mpfa.Q"); // reserve memory for the scv faces const auto numLocalScvf = scvFaceIndices.size(); @@ -413,7 +413,7 @@ private: const auto& neighborVolVarIndices = fvGridGeometry().neighborVolVarIndices(eIdxGlobal); // the quadrature point to be used on the scvf - const Scalar q = GET_PARAM_FROM_GROUP(TypeTag, Scalar, Mpfa, Q); + static const Scalar q = getParamFromGroup<Scalar>(GET_PROP_VALUE(TypeTag, ModelParameterGroup), "Mpfa.Q"); // for network grids we only want to do one scvf per half facet // this approach assumes conforming grids at branching facets -- GitLab