ASPECT
|
Public Member Functions | |
AsciiDataBase () | |
void | parse_parameters (ParameterHandler &prm, const std::string &subsection_name="Ascii data model") |
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") |
Public Attributes | |
std::string | data_directory |
std::string | data_file_name |
double | scale_factor |
AsciDataBase is a generic plugin used for declaring and reading the parameters from the parameter file.
Definition at line 321 of file structured_data.h.
aspect::Utilities::AsciiDataBase< dim >::AsciiDataBase | ( | ) |
Constructor
|
static |
Declare the parameters all derived classes take from input files.
void aspect::Utilities::AsciiDataBase< dim >::parse_parameters | ( | ParameterHandler & | prm, |
const std::string & | subsection_name = "Ascii data model" |
||
) |
Read the parameters from the parameter file.
std::string aspect::Utilities::AsciiDataBase< dim >::data_directory |
Directory in which the data files are present.
Definition at line 349 of file structured_data.h.
std::string aspect::Utilities::AsciiDataBase< dim >::data_file_name |
Filename of data file. The file names can contain the specifiers s and/or c (in this order), meaning the name of the boundary and the number of the data file time step.
Definition at line 356 of file structured_data.h.
double aspect::Utilities::AsciiDataBase< dim >::scale_factor |
Scale the data by a scalar factor. Can be used to transform the unit of the data (if they are not specified in SI units (m/s or m/yr depending on the "Use years in output instead of seconds" parameter).
Definition at line 364 of file structured_data.h.