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

Print progress differently

parent 57357f22
No related branches found
No related tags found
No related merge requests found
...@@ -243,11 +243,6 @@ int main(int argc, char *argv[]) { ...@@ -243,11 +243,6 @@ int main(int argc, char *argv[]) {
for (size_t run = 1; run <= timesteps; ++run) { for (size_t run = 1; run <= timesteps; ++run) {
double const time = tau * run; double const time = tau * run;
if (parset.get<bool>("printProgress")) {
std::cout << '*';
std::cout.flush();
}
{ {
assemble_neumann<GridType, GridView, SmallVector, P1Basis>( assemble_neumann<GridType, GridView, SmallVector, P1Basis>(
leafView, p1Basis, neumannNodes, rhs, neumannFunction, time); leafView, p1Basis, neumannNodes, rhs, neumannFunction, time);
...@@ -310,6 +305,8 @@ int main(int argc, char *argv[]) { ...@@ -310,6 +305,8 @@ int main(int argc, char *argv[]) {
std::cerr << "FPI did not converge after " << state_fpi_max std::cerr << "FPI did not converge after " << state_fpi_max
<< " iterations" << std::endl; << " iterations" << std::endl;
} }
if (parset.get<bool>("printProgress"))
std::cout << std::endl;
// Record the state, (scaled) displacement, and Neumann // Record the state, (scaled) displacement, and Neumann
// condition at a fixed node // 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