![]() |
ASPECT
|
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
![]() | |
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 void | declare_parameters (ParameterHandler &prm) |
![]() | |
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 | |
![]() | |
std::string | data_directory |
std::string | data_file_name |
double | scale_factor |
![]() | |
std::unique_ptr< aspect::Utilities::StructuredDataLookup< 1 > > | lookup |
A class that implements a gravity description based on an AsciiData input file.
Definition at line 40 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 86 of file ascii_data.h.
|
private |
The column index of the gravity column in the data file.
Definition at line 91 of file ascii_data.h.