ASPECT
|
Static Public Member Functions | |
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) |
Base class for classes that describe adiabatic conditions, i.e. that starts at the top of the domain and integrate pressure and temperature as we go down into depth. There are several ways to do this (time-dependent or constant, using laterally averaged values or a reference profile), therefore we allow for user written plugins.
Definition at line 121 of file simulator_access.h.
|
override |
Destructor. Made virtual to enforce that derived classes also have virtual destructors.
|
virtual |
Initialization function. This function is called once at the beginning of the program after parse_parameters is run and after the SimulatorAccess (if applicable) is initialized.
Reimplemented in aspect::AdiabaticConditions::ComputeProfile< dim >, aspect::AdiabaticConditions::ComputeEntropyProfile< dim >, aspect::AdiabaticConditions::AsciiData< dim >, and aspect::AdiabaticConditions::Function< dim >.
|
pure virtual |
Some plugins need to know whether the adiabatic conditions are already calculated. Namely all plugins that are needed to create the adiabatic conditions but themselves depend on the adiabatic profile. Utilizing this function they may behave differently on initialization of the adiabatic conditions and at model runtime.
Implemented in aspect::AdiabaticConditions::ComputeProfile< dim >, aspect::AdiabaticConditions::AsciiData< dim >, aspect::AdiabaticConditions::ComputeEntropyProfile< dim >, and aspect::AdiabaticConditions::Function< dim >.
|
virtual |
Compute the adiabatic conditions along a vertical transect of the geometry based on the given material model and other quantities. This function is called at every new timestep.
Reimplemented in aspect::AdiabaticConditions::ComputeProfile< dim >.
|
pure virtual |
Return the adiabatic temperature at a given point of the domain.
Implemented in aspect::AdiabaticConditions::ComputeProfile< dim >, aspect::AdiabaticConditions::AsciiData< dim >, aspect::AdiabaticConditions::ComputeEntropyProfile< dim >, and aspect::AdiabaticConditions::Function< dim >.
|
pure virtual |
Return the adiabatic pressure at a given point of the domain.
Implemented in aspect::AdiabaticConditions::ComputeProfile< dim >, aspect::AdiabaticConditions::AsciiData< dim >, aspect::AdiabaticConditions::ComputeEntropyProfile< dim >, and aspect::AdiabaticConditions::Function< dim >.
|
pure virtual |
Return the reference_density at a given point of the domain.
Implemented in aspect::AdiabaticConditions::ComputeProfile< dim >, aspect::AdiabaticConditions::AsciiData< dim >, aspect::AdiabaticConditions::ComputeEntropyProfile< dim >, and aspect::AdiabaticConditions::Function< dim >.
|
pure virtual |
Return the derivative of the density with respect to depth at the given point p
.
Implemented in aspect::AdiabaticConditions::ComputeProfile< dim >, aspect::AdiabaticConditions::AsciiData< dim >, aspect::AdiabaticConditions::ComputeEntropyProfile< dim >, and aspect::AdiabaticConditions::Function< dim >.
|
virtual |
Return the adiabatic temperature profile as a vector of values corresponding to increasing depth.
values | The output vector of depth averaged values. The function takes the pre-existing size of this vector as the number of depth slices. |
|
virtual |
Like get_adiabatic_temperature_profile() but for the pressure.
|
virtual |
Like get_adiabatic_temperature_profile() but for the density.
|
virtual |
Like get_adiabatic_temperature_profile() but for the density derivative.
|
static |
Declare the parameters this class takes through input files. The default implementation of this function does not describe any parameters. Consequently, derived classes do not have to overload this function if they do not take any runtime parameters.
|
virtual |
Read the parameters this class declares from the parameter file. The default implementation of this function does not read any parameters. Consequently, derived classes do not have to overload this function if they do not take any runtime parameters.
Reimplemented in aspect::AdiabaticConditions::ComputeProfile< dim >, aspect::AdiabaticConditions::AsciiData< dim >, aspect::AdiabaticConditions::ComputeEntropyProfile< dim >, and aspect::AdiabaticConditions::Function< dim >.