Public Member Functions | List of all members
EquationOfState Class Referenceabstract

Base class for equation of state. More...

#include <equation_of_state.hpp>

Inheritance diagram for EquationOfState:
Inheritance graph
[legend]

Public Member Functions

virtual double dp2e (double d, double p, tvector const &tracers=tvector(), vector< string > const &tracernames=vector< string >()) const =0
 Calculates the thermal energy per unit mass. More...
 
virtual double de2p (double d, double e, tvector const &tracers=tvector(), vector< string > const &tracernames=vector< string >()) const =0
 Calculates the pressure. More...
 
virtual double de2c (double d, double e, tvector const &tracers=tvector(), vector< string > const &tracernames=vector< string >()) const =0
 Calculates the speed of sound. More...
 
virtual double dp2c (double d, double p, tvector const &tracers=tvector(), vector< string > const &tracernames=vector< string >()) const =0
 Calculates the speed of sound. More...
 
virtual double dp2s (double d, double p, tvector const &tracers=tvector(), vector< string > const &tracernames=vector< string >()) const =0
 Calculates the entropy per unit mass. More...
 
virtual double sd2p (double s, double d, tvector const &tracers=tvector(), vector< string > const &tracernames=vector< string >()) const =0
 Calculates the pressure from the netropy. More...
 

Detailed Description

Base class for equation of state.

Definition at line 20 of file equation_of_state.hpp.

Member Function Documentation

◆ de2c()

virtual double EquationOfState::de2c ( double  d,
double  e,
tvector const &  tracers = tvector(),
vector< string > const &  tracernames = vector< string >() 
) const
pure virtual

Calculates the speed of sound.

Parameters
dDensity
eSpecific thermal energy
tracersTracers
tracernamesThe names of the tracers
Returns
Speed of sound

Implemented in IdealGas, and IdealGas_SR.

◆ de2p()

virtual double EquationOfState::de2p ( double  d,
double  e,
tvector const &  tracers = tvector(),
vector< string > const &  tracernames = vector< string >() 
) const
pure virtual

Calculates the pressure.

Parameters
dDensity
eSpecific thermal energy
tracersTracers
tracernamesThe names of the tracers
Returns
Presusre

Implemented in IdealGas, and IdealGas_SR.

Here is the caller graph for this function:

◆ dp2c()

virtual double EquationOfState::dp2c ( double  d,
double  p,
tvector const &  tracers = tvector(),
vector< string > const &  tracernames = vector< string >() 
) const
pure virtual

Calculates the speed of sound.

Parameters
dDensity
pPressure
tracersTracers
tracernamesThe names of the tracers
Returns
Speed of sound

Implemented in IdealGas, and IdealGas_SR.

Here is the caller graph for this function:

◆ dp2e()

virtual double EquationOfState::dp2e ( double  d,
double  p,
tvector const &  tracers = tvector(),
vector< string > const &  tracernames = vector< string >() 
) const
pure virtual

Calculates the thermal energy per unit mass.

Parameters
dDensity
pPressure
tracersTracers
tracernamesThe names of the tracers
Returns
Thermal energy per unit mass

Implemented in IdealGas, and IdealGas_SR.

Here is the caller graph for this function:

◆ dp2s()

virtual double EquationOfState::dp2s ( double  d,
double  p,
tvector const &  tracers = tvector(),
vector< string > const &  tracernames = vector< string >() 
) const
pure virtual

Calculates the entropy per unit mass.

Parameters
dDensity
pPressure
tracersTracers
tracernamesThe names of the tracers
Returns
Entropy

Implemented in IdealGas, and IdealGas_SR.

Here is the caller graph for this function:

◆ sd2p()

virtual double EquationOfState::sd2p ( double  s,
double  d,
tvector const &  tracers = tvector(),
vector< string > const &  tracernames = vector< string >() 
) const
pure virtual

Calculates the pressure from the netropy.

Parameters
sEntropy
dDensity
tracersTracers
tracernamesThe names of the tracers
Returns
Entropy

Implemented in IdealGas, and IdealGas_SR.

Here is the caller graph for this function:

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