ASPECT
|
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::Utilities::AsciiDataBase< dim > | |
static void | declare_parameters (ParameterHandler &prm, const std::string &default_directory, const std::string &default_filename, const std::string &subsection_name="Ascii data model") |
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::unique_ptr< aspect::Utilities::StructuredDataLookup< 1 > > | profile |
unsigned int | gravity_index |
Additional Inherited Members | |
Public Attributes inherited from aspect::Utilities::AsciiDataBase< dim > | |
std::string | data_directory |
std::string | data_file_name |
double | scale_factor |
Protected Attributes inherited from aspect::Utilities::AsciiDataProfile< dim > | |
std::unique_ptr< aspect::Utilities::StructuredDataLookup< 1 > > | lookup |
A class that implements a gravity description based on an AsciiData input file.
Definition at line 42 of file ascii_data.h.
aspect::GravityModel::AsciiData< dim >::AsciiData | ( | ) |
Constructor.
|
overridevirtual |
Initialization function. This function is called once at the beginning of the program. Checks preconditions.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Return the gravity 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 |
Object containing the data profile.
Definition at line 88 of file ascii_data.h.
|
private |
The column index of the gravity column in the data file.
Definition at line 93 of file ascii_data.h.