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

Write progress to stderr

parent dc6efef4
No related branches found
No related tags found
No related merge requests found
......@@ -294,8 +294,8 @@ int main(int argc, char *argv[]) {
}
}
if (parset.get<bool>("printProgress")) {
std::cout << '.';
std::cout.flush();
std::cerr << '.';
std::cerr.flush();
}
if (energyNorm.diff(u_diff_saved, u_diff) <
parset.get<double>("solver.tnnmg.fixed_point_tolerance"))
......@@ -306,7 +306,7 @@ int main(int argc, char *argv[]) {
<< " iterations" << std::endl;
}
if (parset.get<bool>("printProgress"))
std::cout << std::endl;
std::cerr << std::endl;
// Record the state, (scaled) displacement, and Neumann
// condition at a fixed node
......
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