ASPECT
|
Public Member Functions | |
RadialViscosityLookup (const std::string &filename, const MPI_Comm comm) | |
double | radial_viscosity (double depth) const |
Private Attributes | |
std::vector< double > | values |
double | min_depth |
double | delta_depth |
double | max_depth |
A class that reads in a text file that contains the viscosity for a set of equidistant depth layers. See the data/material-model/steinberger directory for an example data file. The class can return the value for a given depth.
Definition at line 85 of file steinberger.h.
aspect::MaterialModel::internal::RadialViscosityLookup::RadialViscosityLookup | ( | const std::string & | filename, |
const MPI_Comm | comm | ||
) |
Constructor. Reads in the given file.
double aspect::MaterialModel::internal::RadialViscosityLookup::radial_viscosity | ( | double | depth | ) | const |
Return the viscosity for a given depth.
|
private |
Stored data values.
Definition at line 103 of file steinberger.h.
|
private |
Depth bounds for the read in values.
Definition at line 108 of file steinberger.h.
|
private |
Definition at line 109 of file steinberger.h.
|
private |
Definition at line 110 of file steinberger.h.