diff --git a/dumux/common/fvproblem.hh b/dumux/common/fvproblem.hh index 4a69f5d7e0a7afea4e82d993f82ba21c9074767e..505a44dfc650c5ced65c6060d6864da6ab8440ee 100644 --- a/dumux/common/fvproblem.hh +++ b/dumux/common/fvproblem.hh @@ -483,14 +483,9 @@ public: std::vector<PointSource> sources; asImp_().addPointSources(sources); - // if there are point sources compute the DOF to point source map + // if there are point sources calculate point source locations and save them in a map if (!sources.empty()) - { - // calculate point source locations and save them in a map - PointSourceHelper::computePointSourceMap(*gridGeometry_, - sources, - pointSourceMap_); - } + PointSourceHelper::computePointSourceMap(*gridGeometry_, sources, pointSourceMap_, paramGroup()); } /*!