Skip to content
Snippets Groups Projects
Commit 155ac11a authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[test][2padaptive] do not coarsen again after initial refinement

parent a47ef141
No related branches found
No related tags found
2 merge requests!617[WIP] Next,!542Feature/adpativity next
...@@ -156,7 +156,8 @@ int main(int argc, char** argv) try ...@@ -156,7 +156,8 @@ int main(int argc, char** argv) try
} }
// Do refinement for the initial conditions using our indicator // Do refinement for the initial conditions using our indicator
indicator.calculate(x, refineTol, coarsenTol); // we set coarsen tolerance to 0.0 because we do not want any coarsening to be done here
indicator.calculate(x, refineTol, /*coarsenTol*/0.0);
bool wasAdapted = false; bool wasAdapted = false;
if (markElements(GridCreator::grid(), indicator)) if (markElements(GridCreator::grid(), indicator))
......
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