ASPECT
|
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm, 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) |
Private Attributes | |
unsigned int | viscosity_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 prescribed viscosity with depth determined from an AsciiDataProfile input file.
Definition at line 48 of file ascii_depth_profile.h.
aspect::MaterialModel::Rheology::AsciiDepthProfile< dim >::AsciiDepthProfile | ( | ) |
Constructor. Initialize variables.
void aspect::MaterialModel::Rheology::AsciiDepthProfile< dim >::initialize | ( | ) |
Initialization function.
double aspect::MaterialModel::Rheology::AsciiDepthProfile< dim >::compute_viscosity | ( | const double | depth | ) | const |
Return the viscosity at a given point of the domain.
|
static |
Declare the parameters for the input files.
void aspect::MaterialModel::Rheology::AsciiDepthProfile< dim >::parse_parameters | ( | ParameterHandler & | prm, |
const std::string & | subsection_name = "Ascii data model" |
||
) |
Read the parameters from the parameter file.
|
private |
The column index of the viscosity in the data file.
Definition at line 89 of file ascii_depth_profile.h.