ASPECT
Public Member Functions | Private Attributes | List of all members
aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader Class Reference

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
 

Detailed Description

This class reads in an entropy-pressure material table and looks up material properties for the given entropy and pressure.

Definition at line 274 of file utilities.h.

Member Function Documentation

§ initialize()

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.

§ specific_heat()

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.

§ density()

double aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader::density ( const double  entropy,
const double  pressure 
) const

Returns the density for a given entropy and pressure.

§ thermal_expansivity()

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.

§ temperature()

double aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader::temperature ( const double  entropy,
const double  pressure 
) const

Returns the temperature for a given entropy and pressure.

§ seismic_vp()

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.

§ seismic_vs()

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.

§ density_gradient()

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.

Member Data Documentation

§ material_lookup

std::unique_ptr<Utilities::StructuredDataLookup<2> > aspect::MaterialModel::MaterialUtilities::Lookup::EntropyReader::material_lookup
private

The StructuredDataLookup object that stores the material data.

Definition at line 339 of file utilities.h.


The documentation for this class was generated from the following file: