17 #ifndef dealii__time_step_control_h 18 #define dealii__time_step_control_h 20 #include <deal.II/base/subscriptor.h> 21 #include <deal.II/base/smartpointer.h> 22 #include <deal.II/lac/vector_memory.h> 25 DEAL_II_NAMESPACE_OPEN
81 double print_step = -1.,
96 double start ()
const;
101 double final ()
const;
109 double step ()
const;
165 void file_name_format (
const char *);
166 const char *file_name_format ();
171 double tolerance_val;
173 double start_step_val;
185 double next_print_val;
215 return tolerance_val;
272 step_val = start_step_val;
275 next_print_val = now_val + print_step;
277 next_print_val = now_val - 1.;
282 TimestepControl::file_name_format (
const char *fmt)
289 TimestepControl::file_name_format ()
295 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)