parameters.graphical_output_interval==1. Fix possible range for this parameter.
git-svn-id: https://svn.dealii.org/trunk@23353
0785d39b-7218-0410-832d-
ea1e28bc413d
"The number of adaptive refinement steps performed after "
"initial global refinement.");
prm.declare_entry ("Time steps between mesh refinement", "10",
- Patterns::Integer (10),
+ Patterns::Integer (1),
"The number of time steps after which the mesh is to be "
"adapted based on computed error indicators.");
prm.declare_entry ("Generate graphical output", "false",
// do-while loop
if ((parameters.generate_graphical_output == true)
&&
- (timestep_number % parameters.graphical_output_interval != 1))
+ !((timestep_number-1) % parameters.graphical_output_interval == 0))
output_results ();
}
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams