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 | |
std::vector< double > | inner_composition |
std::vector< double > | outer_composition |
types::boundary_id | inner_boundary_indicator |
types::boundary_id | outer_boundary_indicator |
A class that implements a composition boundary condition for a spherical shell geometry in which the composition at the inner and outer surfaces (i.e. at the core-mantle and the mantle-lithosphere/atmosphere boundaries) are constant. This class works for the sphere, spherical shell, chunk and ellipsoidal chunk geometries.
Definition at line 45 of file spherical_constant.h.
|
overridevirtual |
Initialize some variables.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
This function returns the constant compositions read from the parameter file for the inner and outer boundaries.
Return the composition that is to hold at a particular position on the boundary of the domain.
boundary_indicator | The boundary indicator of the part of the boundary of the domain on which the point is located at which we are requesting the composition. |
position | The position of the point at which we ask for the composition. |
compositional_field | The index of the compositional field between 0 and parameters.n_compositional_fields . |
compositional_field
at the position position
. Implements aspect::BoundaryComposition::Interface< dim >.
|
static |
Declare the parameters this class takes through input files. This class declares the inner and outer boundary compositions.
|
overridevirtual |
Read the parameters this class declares from the parameter file.
Reimplemented from aspect::Plugins::InterfaceBase.
|
private |
Compositions at the inner and outer boundaries.
Definition at line 82 of file spherical_constant.h.
|
private |
Definition at line 83 of file spherical_constant.h.
|
private |
Boundary indicators for the inner and outer boundaries.
Definition at line 88 of file spherical_constant.h.
|
private |
Definition at line 89 of file spherical_constant.h.