SPH
|
Base class for equations of state. More...
#include <Eos.h>
Public Member Functions | |
virtual Pair< Float > | evaluate (const Float rho, const Float u) const =0 |
Computes pressure and local sound speed from given density rho and specific internal energy u. More... | |
virtual Float | getInternalEnergy (const Float rho, const Float p) const =0 |
Inverted function; computes specific internal energy u from given density rho and pressure p. More... | |
virtual Float | getDensity (const Float p, const Float u) const =0 |
Inverted function; computes density from pressure p and internal energy u. More... | |
![]() | |
virtual | ~Polymorphic () |
Computes pressure and local sound speed from given density rho and specific internal energy u.
Implemented in VanDerWaalsEos, Aneos, MurnaghanEos, SimplifiedTillotsonEos, TillotsonEos, MieGruneisenEos, TaitEos, and IdealGasEos.
Inverted function; computes density from pressure p and internal energy u.
Implemented in VanDerWaalsEos, TillotsonEos, and IdealGasEos.
Inverted function; computes specific internal energy u from given density rho and pressure p.
Implemented in VanDerWaalsEos, TillotsonEos, and IdealGasEos.