From d3b1108bf2ebca993a0694aec29b7e2f1d15e0f7 Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Sat, 30 Dec 2017 20:17:00 +0100 Subject: [PATCH] [fvproblem] Use the correct mapper --- dumux/common/fvproblem.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumux/common/fvproblem.hh b/dumux/common/fvproblem.hh index cb8c6522bf..9e213e5788 100644 --- a/dumux/common/fvproblem.hh +++ b/dumux/common/fvproblem.hh @@ -393,7 +393,7 @@ public: { ResidualVector source(0); auto scvIdx = scv.indexInElement(); - auto key = std::make_pair(fvGridGeometry_->gridView().indexSet().index(element), scvIdx); + auto key = std::make_pair(fvGridGeometry_->elementMapper().index(element), scvIdx); if (pointSourceMap_.count(key)) { // call the solDependent function. Herein the user might fill/add values to the point sources -- GitLab