|
static void | declare_parameters (ParameterHandler &prm, const double default_viscosity=1e21) |
|
Definition at line 34 of file constant_viscosity.h.
§ ConstantViscosity()
aspect::MaterialModel::Rheology::ConstantViscosity::ConstantViscosity |
( |
| ) |
|
Constructor. Initializes viscosity to NaN.
§ declare_parameters()
static void aspect::MaterialModel::Rheology::ConstantViscosity::declare_parameters |
( |
ParameterHandler & |
prm, |
|
|
const double |
default_viscosity = 1e21 |
|
) |
| |
|
static |
Declare the parameters this function takes through input files.
§ parse_parameters()
void aspect::MaterialModel::Rheology::ConstantViscosity::parse_parameters |
( |
ParameterHandler & |
prm | ) |
|
Read the parameters from the parameter file.
§ compute_viscosity()
double aspect::MaterialModel::Rheology::ConstantViscosity::compute_viscosity |
( |
| ) |
const |
Compute the viscosity, in this case just a constant.
§ viscosity
double aspect::MaterialModel::Rheology::ConstantViscosity::viscosity |
|
private |
The documentation for this class was generated from the following file: