SPH
Public Member Functions | List of all members
IEos Class Referenceabstract

Base class for equations of state. More...

#include <Eos.h>

Inheritance diagram for IEos:
Polymorphic Aneos IdealGasEos MieGruneisenEos MurnaghanEos SimplifiedTillotsonEos TaitEos TillotsonEos VanDerWaalsEos

Public Member Functions

virtual Pair< Floatevaluate (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...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Base class for equations of state.

Definition at line 16 of file Eos.h.

Member Function Documentation

◆ evaluate()

virtual Pair<Float> IEos::evaluate ( const Float  rho,
const Float  u 
) const
pure virtual

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.

◆ getDensity()

virtual Float IEos::getDensity ( const Float  p,
const Float  u 
) const
pure virtual

Inverted function; computes density from pressure p and internal energy u.

Implemented in VanDerWaalsEos, TillotsonEos, and IdealGasEos.

◆ getInternalEnergy()

virtual Float IEos::getInternalEnergy ( const Float  rho,
const Float  p 
) const
pure virtual

Inverted function; computes specific internal energy u from given density rho and pressure p.

Implemented in VanDerWaalsEos, TillotsonEos, and IdealGasEos.


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