16 #ifndef _aspect_time_stepping_interface_h 17 #define _aspect_time_stepping_interface_h 112 std::pair<Reaction, double>
129 void initialize_simulator (
const Simulator<dim> &simulator_object)
override;
145 double get_next_time_step_size()
const;
151 bool should_repeat_time_step()
const;
157 bool should_refine_mesh()
const;
162 bool need_checkpoint_on_terminate()
const;
167 bool should_simulation_terminate_now()
const;
185 template <
class Archive>
189 ar &termination_manager;
225 register_time_stepping_model (
const std::string &name,
226 const std::string &description,
274 #define ASPECT_REGISTER_TIME_STEPPING_MODEL(classname,name,description) \ 275 template class classname<2>; \ 276 template class classname<3>; \ 277 namespace ASPECT_REGISTER_TIME_STEPPING_MODEL_ ## classname \ 279 aspect::internal::Plugins::RegisterHelper<aspect::TimeStepping::Interface<2>,classname<2>> \ 280 dummy_ ## classname ## _2d (&aspect::TimeStepping::Manager<2>::register_time_stepping_model, \ 281 name, description); \ 282 aspect::internal::Plugins::RegisterHelper<aspect::TimeStepping::Interface<3>,classname<3>> \ 283 dummy_ ## classname ## _3d (&aspect::TimeStepping::Manager<3>::register_time_stepping_model, \ 284 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)