ASPECT
|
Static Public Member Functions | |
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::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::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) |
Protected Attributes | |
std::unique_ptr< aspect::Utilities::StructuredDataLookup< dim > > | lookup |
std::unique_ptr< aspect::Utilities::StructuredDataLookup< 3 > > | slice_lookup |
bool | slice_data |
Tensor< 2, 3 > | rotation_matrix |
Additional Inherited Members | |
Public Attributes inherited from aspect::Utilities::AsciiDataBase< dim > | |
std::string | data_directory |
std::string | data_file_name |
double | scale_factor |
A base class that implements initial conditions determined from a AsciiData input file.
Definition at line 545 of file structured_data.h.
aspect::Utilities::AsciiDataInitial< dim >::AsciiDataInitial | ( | ) |
Constructor
|
virtual |
Initialization function. This function is called once at the beginning of the program. Checks preconditions.
double aspect::Utilities::AsciiDataInitial< dim >::get_data_component | ( | const Point< dim > & | position, |
const unsigned int | component | ||
) | const |
Returns the data component at the given position.
|
static |
Declare the parameters all derived classes take from input files.
void aspect::Utilities::AsciiDataInitial< dim >::parse_parameters | ( | ParameterHandler & | prm, |
const std::string & | subsection_name = "Ascii data model" |
||
) |
Read the parameters from the parameter file.
|
protected |
Pointer to an object that reads and processes data we get from text files.
Definition at line 591 of file structured_data.h.
|
protected |
Pointer to an object that reads and processes data we get from text files if the current model is a slice of the input file (e.g. a 2D model and a 3D data file).
Definition at line 598 of file structured_data.h.
|
protected |
Whether to use a dataset that has the same spatial dimensions as the model or not. If true only a 2D slice of a 3D dataset is used.
Definition at line 604 of file structured_data.h.
|
protected |
The matrix that describes the rotation by which a 2D model needs to be transformed to a plane that contains the origin and the two prescribed points given in the input.
Definition at line 611 of file structured_data.h.