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 | |
Functions::ParsedFunction< dim > | function |
Utilities::Coordinates::CoordinateSystem | coordinate_system |
A class that implements gravity based on a functional description provided in the input file.
Definition at line 44 of file function.h.
aspect::GravityModel::Function< dim >::Function | ( | ) |
Constructor.
|
overridevirtual |
A function that is called at the beginning of each time step to indicate what the model time is for which the gravity will next be evaluated. For the current class, the function passes to the parsed function what the current time is.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Return the gravity vector as a function of position.
Implements aspect::GravityModel::Interface< dim >.
|
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.
|
overridevirtual |
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 from aspect::Plugins::InterfaceBase.
|
private |
A function object representing the gravity.
Definition at line 88 of file function.h.
|
private |
The coordinate representation to evaluate the function. Possible choices are depth, cartesian and spherical.
Definition at line 94 of file function.h.