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) |
Private Types | |
enum | LABDepthSource { Value, File } |
Private Attributes | |
Utilities::StructuredDataLookup< 2 > | lab_depths |
std::string | data_directory |
std::string | LAB_file_name |
LABDepthSource | LAB_depth_source |
double | max_depth |
Definition at line 39 of file lithosphere_mask.h.
|
private |
An enum to describe where the LAB depth is coming from.
Enumerator | |
---|---|
Value | |
File |
Definition at line 95 of file lithosphere_mask.h.
aspect::InitialTemperature::LABDepth::LABDepthLookup< dim >::LABDepthLookup | ( | ) |
Empty Constructor.
void aspect::InitialTemperature::LABDepth::LABDepthLookup< dim >::initialize | ( | ) |
Initialization function. This function is called once at the beginning of the program. Checks preconditions.
double aspect::InitialTemperature::LABDepth::LABDepthLookup< dim >::get_lab_depth | ( | const Point< dim > & | position | ) | const |
Return LAB depth as a function of position (latitude and longitude). This function returns either a constant value or values from a text file, depending on the input parameters. Text files are read in two dimensions so the third column (depth) is treated as data.
|
static |
Declare the parameters this class takes through input files.
void aspect::InitialTemperature::LABDepth::LABDepthLookup< dim >::parse_parameters | ( | ParameterHandler & | prm | ) |
Read the parameters this class declares from the parameter file.
|
private |
Reads in file containing input data.
Definition at line 80 of file lithosphere_mask.h.
|
private |
Directory in which the LAB depth file is present.
Definition at line 85 of file lithosphere_mask.h.
|
private |
File name of the LAB depth file.
Definition at line 90 of file lithosphere_mask.h.
|
private |
Currently chosen source for the LAB depth.
Definition at line 104 of file lithosphere_mask.h.
|
private |
This parameter gives the maximum depth of the lithosphere. The model returns nans below this depth. This parameter is only used if LAB depth source is set to 'Value'.
Definition at line 111 of file lithosphere_mask.h.