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

Print a # at the end of each line

parent f152ade0
No related branches found
No related tags found
No related merge requests found
......@@ -416,8 +416,13 @@ int main(int argc, char *argv[]) {
}
if (state_fpi > 1) {
double const correctionNorm = energyNorm.diff(u_saved, u);
if (correctionNorm < fixedPointTolerance)
if (correctionNorm < fixedPointTolerance) {
if (parset.get<bool>("printProgress")) {
std::cerr << '#';
std::cerr.flush();
}
break;
}
}
if (state_fpi == state_fpi_max)
DUNE_THROW(Dune::Exception, "FPI failed to converge");
......
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