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 | |
Utilities::AsciiDataBoundary< dim > | slab_boundary |
types::boundary_id | surface_boundary_id |
unsigned int | slab_index |
A class that implements subducted slab geometries as a compositional field determined from an input file. The file defines the depth to the top of the slab and the slab thickness.
An example model that is included is Slab2 described in Hayes, G. P., Moore, G. L., Portner, D. E., Hearne, M., Flamme, H., Furtney, M., & Smoczyk, G. M. (2018). Slab2, a comprehensive subduction zone geometry model. Science, 362(6410), 58-61.
Definition at line 50 of file slab_model.h.
|
overridevirtual |
Initialization function. This function is called once at the beginning of the program. Checks preconditions.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Return the initial composition as a function of position. For the current class, this function returns 1.0 inside subducted slabs and 0.0 outside.
Implements aspect::InitialComposition::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.
const Utilities::AsciiDataBoundary<dim>& aspect::InitialComposition::SlabModel< dim >::get_slab_boundary | ( | ) | const |
A function that returns the slab_boundary object to allow access in other places.
|
private |
An object of ascii data boundary to input subducted slab depths and thicknesses.
Definition at line 92 of file slab_model.h.
|
private |
Cache the surface boundary id to avoid unnecessary lookups.
Definition at line 97 of file slab_model.h.
|
private |
Cache the compositional field index that corresponds to the slab composition to avoid unnecessary lookups.
Definition at line 103 of file slab_model.h.