ASPECT
|
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::SimulatorAccess< dim > | |
static void | get_composition_values_at_q_point (const std::vector< std::vector< double >> &composition_values, const unsigned int q, std::vector< double > &composition_values_at_q_point) |
Private Attributes | |
unsigned int | walltime_duration |
Static Private Attributes | |
static std::time_t | start_walltime |
A class that terminates the simulation when a specified end time is reached.
Definition at line 40 of file end_walltime.h.
|
overridevirtual |
Evaluate this termination criterion.
Implements aspect::TerminationCriteria::Interface< dim >.
|
static |
Declare the parameters this class takes through input files.
|
overridevirtual |
Read the parameters this class declares from the parameter file.
Reimplemented from aspect::Plugins::InterfaceBase.
|
private |
The maximum walltime duration in seconds. The program will be terminated once this value is reached.
Definition at line 71 of file end_walltime.h.
|
staticprivate |
The start_walltime is not stored into checkpoint, so it will get reset at restart. Make start_walltime as a static variable that it gets initialized pretty much right away as the program starts, rather than several seconds in once we get to creating the plugin. It gives better estimate of the actual start time.
Definition at line 79 of file end_walltime.h.