ASPECT
|
Public Member Functions | |
virtual bool | execute ()=0 |
virtual double | check_for_last_time_step (const double time_step) const |
Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
virtual | ~InterfaceBase ()=default |
virtual void | initialize () |
virtual void | update () |
virtual void | parse_parameters (ParameterHandler &prm) |
Additional Inherited Members | |
Static Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
static void | declare_parameters (ParameterHandler &prm) |
This class declares the public interface of termination criteria plugins. These plugins must implement a function that can be called each time step to determine if specific criteria have been met that mean the simulation should be ended gracefully.
Access to the data of the simulator is granted by the protected
member functions of the SimulatorAccess class, i.e., classes implementing this interface will in general want to derive from both this Interface class as well as from the SimulatorAccess class if they need to find out about the state of the simulation.
Definition at line 65 of file interface.h.
|
pure virtual |
Execute evaluation of the termination criterion.
true
for a given plugin to record that the plugin wants to terminate the simulation, even if the other processors return false. Implemented in aspect::TerminationCriteria::EndTime< dim >, aspect::TerminationCriteria::EndWalltime< dim >, aspect::TerminationCriteria::UserRequest< dim >, aspect::TerminationCriteria::SteadyHeatFlux< dim >, aspect::TerminationCriteria::SteadyRMSVelocity< dim >, aspect::TerminationCriteria::EndStep< dim >, and aspect::TerminationCriteria::SteadyTemperature< dim >.
|
virtual |
Check for last time step and if so reduce the time step to user specified end time
Reimplemented in aspect::TerminationCriteria::EndTime< dim >.