From 1a33dda91ce35026b5717bbcad5dc6c852dcbf0d Mon Sep 17 00:00:00 2001 From: Martin Schneider <martin.schneider@iws.uni-stuttgart.de> Date: Wed, 29 Jan 2020 13:40:33 +0100 Subject: [PATCH] [flux][upwind] Include paramGroup when getting the upwindWeight --- dumux/flux/upwindscheme.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumux/flux/upwindscheme.hh b/dumux/flux/upwindscheme.hh index fae491c222..e19de74db4 100644 --- a/dumux/flux/upwindscheme.hh +++ b/dumux/flux/upwindscheme.hh @@ -53,7 +53,7 @@ public: Scalar flux, int phaseIdx) { // TODO: pass this from outside? - static const Scalar upwindWeight = getParam<Scalar>("Flux.UpwindWeight"); + static const Scalar upwindWeight = getParamFromGroup<Scalar>(fluxVars.problem().paramGroup(), "Flux.UpwindWeight"); const auto& elemVolVars = fluxVars.elemVolVars(); const auto& scvf = fluxVars.scvFace(); -- GitLab