Skip to content
Snippets Groups Projects
Commit 39b71b8b authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Make failure to converge fatal

parent 8cb9246b
No related branches found
No related tags found
No related merge requests found
...@@ -430,9 +430,7 @@ ...@@ -430,9 +430,7 @@
u_saved = u; u_saved = u;
if (state_fpi == state_fpi_max) if (state_fpi == state_fpi_max)
std::cerr << "[ref = " << refinements DUNE_THROW(Dune::Exception, "FPI failed to converge");
<< "]: FPI did not converge after "
<< state_fpi_max << " iterations" << std::endl;
} }
<<printOuterProgress>>; <<printOuterProgress>>;
......
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