Skip to content
Snippets Groups Projects
Commit 43824706 authored by podlesny's avatar podlesny
Browse files

debugging break after 200 iterations

parent 3a625ee1
No related branches found
No related tags found
No related merge requests found
...@@ -155,6 +155,13 @@ FixedPointIterator<Factory, NBodyAssembler, Updaters, ErrorNorms>::run( ...@@ -155,6 +155,13 @@ FixedPointIterator<Factory, NBodyAssembler, Updaters, ErrorNorms>::run(
fixedPointIteration++; fixedPointIteration++;
break; break;
} }
if (res.iterations>200) {
std::cout << "FixedPointIterator: TNNMG did not converge, iterations: " << res.iterations << std::endl;
//DUNE_THROW(Dune::Exception, "FixedPointIterator: TNNMG did not converge");
break;
}
alpha = newAlpha; alpha = newAlpha;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment