Base class for equation of state.
More...
#include <equation_of_state.hpp>
|
| 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...
|
| |
Base class for equation of state.
Definition at line 20 of file equation_of_state.hpp.
◆ 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
-
| d | Density |
| e | Specific thermal energy |
| tracers | Tracers |
| tracernames | The 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
-
| d | Density |
| e | Specific thermal energy |
| tracers | Tracers |
| tracernames | The names of the tracers |
- Returns
- Presusre
Implemented in IdealGas, and IdealGas_SR.
◆ 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
-
| d | Density |
| p | Pressure |
| tracers | Tracers |
| tracernames | The names of the tracers |
- Returns
- Speed of sound
Implemented in IdealGas, and IdealGas_SR.
◆ 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
-
| d | Density |
| p | Pressure |
| tracers | Tracers |
| tracernames | The names of the tracers |
- Returns
- Thermal energy per unit mass
Implemented in IdealGas, and IdealGas_SR.
◆ 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
-
| d | Density |
| p | Pressure |
| tracers | Tracers |
| tracernames | The names of the tracers |
- Returns
- Entropy
Implemented in IdealGas, and IdealGas_SR.
◆ 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
-
| s | Entropy |
| d | Density |
| tracers | Tracers |
| tracernames | The names of the tracers |
- Returns
- Entropy
Implemented in IdealGas, and IdealGas_SR.
The documentation for this class was generated from the following files: