Definition at line 33 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 constant viscosity that defines this rheology. It is read from the input file by the parse_parameters() function.
This variable is read from the parameter file through a parameter called 'Viscosity'.
Definition at line 69 of file constant_viscosity.h.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/aspect-documentation/checkouts/latest/include/aspect/material_model/rheology/constant_viscosity.h