|
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 | necessary_time_in_steady_state |
| double | allowed_relative_deviation |
| std::set< types::boundary_id > | boundary_indicators |
| std::list< std::pair< double, double > > | time_heat_flux |
A class that implements a termination criterion based on the steady state of the average heat flux.
Definition at line 40 of file steady_heat_flux.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 |
The minimum length of simulation time that the system should be in steady state before termination.
This variable is read from the parameter file through a parameter called 'Time in steady state'.
Definition at line 79 of file steady_heat_flux.h.
|
private |
The maximum relative deviation of the heat flux in recent simulation time for the system to be considered in steady state. This variable is read from the parameter file through a parameter called 'Maximum relative deviation'.
Definition at line 87 of file steady_heat_flux.h.
|
private |
A set of boundary ids on which the average heat flux will be computed.
This variable is read from the parameter file through a parameter called 'Boundary indicators'.
Definition at line 96 of file steady_heat_flux.h.
|
private |
A list of pairs (time, heat flux) that we have computed at previous time steps. This is used to determine when we have reached steady state.
Definition at line 103 of file steady_heat_flux.h.