|
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 | |
| double | time_length |
| double | relative_deviation |
| std::list< std::pair< double, double > > | time_rmsvel |
A class that implements a termination criterion based on steady state of the root mean square of the velocity field.
Definition at line 40 of file steady_rms_velocity.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.
|
overridevirtual |
Save the state of this object to the argument given to this function. This function is in support of checkpoint/restart functionality.
Derived classes can implement this function and should store their state in a string that is deposited under a key in the map through which the respective class can later find the status again when the program is restarted. A legitimate key to store data under is typeid(*this).name(). It is up to derived classes to decide how they want to encode their state.
The default implementation of this function does nothing, i.e., it represents a stateless object for which nothing needs to be stored at checkpoint time and nothing needs to be restored at restart time.
| [in,out] | status_strings | The object into which implementations in derived classes can place their status under a key that they can use to retrieve the data. |
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Restore the state of the object by looking up a description of the state in the passed argument under the same key under which it was previously stored.
The default implementation does nothing.
| [in] | status_strings | The object from which the status will be restored by looking up the value for a key specific to this derived class. |
Reimplemented from aspect::Plugins::InterfaceBase.
|
private |
This variable is read from the parameter file through a parameter called 'Time in steady state'.
Definition at line 76 of file steady_rms_velocity.h.
|
private |
This variable is read from the parameter file through a parameter called 'Maximum relative deviation'.
Definition at line 82 of file steady_rms_velocity.h.
|
private |
A list of pairs (time, rms_velocity) that we have computed at previous time steps. This is used to determine when we have reached steady state.
Definition at line 89 of file steady_rms_velocity.h.