22 #ifndef _aspect_time_stepping_interface_h 23 #define _aspect_time_stepping_interface_h 36 namespace TimeStepping
145 std::pair<Reaction, double>
166 parse_parameters (ParameterHandler &prm);
182 void initialize_simulator (
const Simulator<dim> &simulator_object)
override;
197 double get_next_time_step_size()
const;
203 bool should_repeat_time_step()
const;
209 bool should_refine_mesh()
const;
214 bool need_checkpoint_on_terminate()
const;
219 bool should_simulation_terminate_now()
const;
235 parse_parameters (ParameterHandler &prm);
271 register_time_stepping_model (
const std::string &name,
272 const std::string &description,
273 void (*declare_parameters_function) (ParameterHandler &),
317 #define ASPECT_REGISTER_TIME_STEPPING_MODEL(classname,name,description) \ 318 template class classname<2>; \ 319 template class classname<3>; \ 320 namespace ASPECT_REGISTER_TIME_STEPPING_MODEL_ ## classname \ 322 aspect::internal::Plugins::RegisterHelper<aspect::TimeStepping::Interface<2>,classname<2>> \ 323 dummy_ ## classname ## _2d (&aspect::TimeStepping::Manager<2>::register_time_stepping_model, \ 324 name, description); \ 325 aspect::internal::Plugins::RegisterHelper<aspect::TimeStepping::Interface<3>,classname<3>> \ 326 dummy_ ## classname ## _3d (&aspect::TimeStepping::Manager<3>::register_time_stepping_model, \ 327 name, description); \ TerminationCriteria::Manager< dim > termination_manager
double next_time_step_size
void write_plugin_graph(std::ostream &output_stream)
double minimum_time_step_size
bool reduced_by_termination_plugin
bool do_checkpoint_on_terminate
Reaction current_reaction
double next_time_step_size
std::list< std::unique_ptr< Interface< dim > > > active_plugins
void declare_parameters(ParameterHandler &prm)