22 #ifndef _aspect_time_stepping_interface_h 23 #define _aspect_time_stepping_interface_h 34 namespace TimeStepping
118 std::pair<Reaction, double>
135 void initialize_simulator (
const Simulator<dim> &simulator_object)
override;
151 double get_next_time_step_size()
const;
157 bool should_repeat_time_step()
const;
163 bool should_refine_mesh()
const;
168 bool need_checkpoint_on_terminate()
const;
173 bool should_simulation_terminate_now()
const;
189 parse_parameters (ParameterHandler &prm)
override;
191 template <
class Archive>
195 ar &termination_manager;
231 register_time_stepping_model (
const std::string &name,
232 const std::string &description,
233 void (*declare_parameters_function) (ParameterHandler &),
280 #define ASPECT_REGISTER_TIME_STEPPING_MODEL(classname,name,description) \ 281 template class classname<2>; \ 282 template class classname<3>; \ 283 namespace ASPECT_REGISTER_TIME_STEPPING_MODEL_ ## classname \ 285 aspect::internal::Plugins::RegisterHelper<aspect::TimeStepping::Interface<2>,classname<2>> \ 286 dummy_ ## classname ## _2d (&aspect::TimeStepping::Manager<2>::register_time_stepping_model, \ 287 name, description); \ 288 aspect::internal::Plugins::RegisterHelper<aspect::TimeStepping::Interface<3>,classname<3>> \ 289 dummy_ ## classname ## _3d (&aspect::TimeStepping::Manager<3>::register_time_stepping_model, \ 290 name, description); \ void serialize(Archive &ar, const unsigned int)
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
void declare_parameters(ParameterHandler &prm)