|
ASPECT
|
Public Member Functions | |
| void | initialize (const MPI_Comm comm, const std::string &data_directory, const std::string &material_file_name) |
| double | specific_heat (const double entropy, const double pressure) const |
| double | density (const double entropy, const double pressure) const |
| double | thermal_expansivity (const double entropy, const double pressure) const |
| double | temperature (const double entropy, const double pressure) const |
| double | seismic_vp (const double entropy, const double pressure) const |
| double | seismic_vs (const double entropy, const double pressure) const |
| Tensor< 1, 2 > | density_gradient (const double entropy, const double pressure) const |
Private Attributes | |
| std::unique_ptr< Utilities::StructuredDataLookup< 2 > > | material_lookup |
This class reads in an entropy-pressure material table and looks up material properties for the given entropy and pressure.
Definition at line 288 of file utilities.h.
| void aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader::initialize | ( | const MPI_Comm | comm, |
| const std::string & | data_directory, | ||
| const std::string & | material_file_name | ||
| ) |
Read the table.
| double aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader::specific_heat | ( | const double | entropy, |
| const double | pressure | ||
| ) | const |
Returns the specific heat for a given entropy and pressure.
| double aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader::density | ( | const double | entropy, |
| const double | pressure | ||
| ) | const |
Returns the density for a given entropy and pressure.
| double aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader::thermal_expansivity | ( | const double | entropy, |
| const double | pressure | ||
| ) | const |
Returns the thermal_expansivity for a given entropy and pressure.
| double aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader::temperature | ( | const double | entropy, |
| const double | pressure | ||
| ) | const |
Returns the temperature for a given entropy and pressure.
| double aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader::seismic_vp | ( | const double | entropy, |
| const double | pressure | ||
| ) | const |
Returns the seismic p wave velocity for a given entropy and pressure.
| double aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader::seismic_vs | ( | const double | entropy, |
| const double | pressure | ||
| ) | const |
Returns the seismic s wave velocity for a given entropy and pressure.
| Tensor<1, 2> aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader::density_gradient | ( | const double | entropy, |
| const double | pressure | ||
| ) | const |
Returns density gradient for a given entropy and pressure.
|
private |
The StructuredDataLookup object that stores the material data.
Definition at line 353 of file utilities.h.