Skip to content
Snippets Groups Projects
Commit 168d7fff authored by Martin Schneider's avatar Martin Schneider
Browse files

[adaptive] Include point sources in initialization indicator

parent c7de2168
No related branches found
No related tags found
1 merge request!897Feature/results adaptive
...@@ -174,7 +174,8 @@ public: ...@@ -174,7 +174,8 @@ public:
for (const auto& scv : scvs(fvGeometry)) for (const auto& scv : scvs(fvGeometry))
{ {
auto source = problem_->source(element, fvGeometry, elemVolVars, scv); auto source = problem_->source(element, fvGeometry, elemVolVars, scv);
if (source.infinity_norm() > eps_) auto pointSource = problem_->scvPointSources(element, fvGeometry, elemVolVars, scv);
if (source.infinity_norm() + pointSource.infinity_norm() > eps_)
{ {
indicatorVector_[eIdx] = true; indicatorVector_[eIdx] = true;
break; // element is marked, escape scv loop break; // element is marked, escape scv loop
......
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