Skip to content
Snippets Groups Projects
Commit d3b1108b authored by Timo Koch's avatar Timo Koch
Browse files

[fvproblem] Use the correct mapper

parent a3b93eae
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment