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

Control printing of progress through the parset

parent cbd9b1db
Branches
No related tags found
No related merge requests found
...@@ -269,8 +269,10 @@ int main(int argc, char *argv[]) { ...@@ -269,8 +269,10 @@ int main(int argc, char *argv[]) {
myGlobalNonlinearity, nodalIntegrals); myGlobalNonlinearity, nodalIntegrals);
for (size_t run = 1; run <= parset.get<size_t>("timesteps"); ++run) { for (size_t run = 1; run <= parset.get<size_t>("timesteps"); ++run) {
std::cout << "."; if (parset.get<bool>("printProgress")) {
std::cout.flush(); std::cout << ".";
std::cout.flush();
}
// b = neumann // b = neumann
assemble_neumann<GridType, GridView, SmallVector, P1Basis>( assemble_neumann<GridType, GridView, SmallVector, P1Basis>(
......
...@@ -3,6 +3,7 @@ timesteps = 100 ...@@ -3,6 +3,7 @@ timesteps = 100
verbose = false verbose = false
printFrictionalBoundary = false printFrictionalBoundary = false
printProgress = true
useNonlinearGS = false # true useNonlinearGS = false # true
useGS = false useGS = false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment