17 #ifndef dealii_time_step_control_h 18 #define dealii_time_step_control_h 20 #include <deal.II/base/smartpointer.h> 21 #include <deal.II/base/subscriptor.h> 23 #include <deal.II/lac/vector_memory.h> 27 DEAL_II_NAMESPACE_OPEN
83 double print_step = -1.,
183 file_name_format(
const char *);
190 double tolerance_val;
192 double start_step_val;
204 double next_print_val;
234 return tolerance_val;
291 step_val = start_step_val;
294 next_print_val = now_val + print_step;
296 next_print_val = now_val - 1.;
301 TimestepControl::file_name_format(
const char *fmt)
308 TimestepControl::file_name_format()
314 DEAL_II_NAMESPACE_CLOSE
TimestepControl(double start=0., double final=1., double tolerance=1.e-2, double start_step=1.e-2, double print_step=-1., double max_step=1.)
void start_step(const double step)
static void declare_parameters(ParameterHandler ¶m)
void parse_parameters(ParameterHandler ¶m)