SPH
Public Member Functions | List of all members
MurnaghanEos Class Reference

Murnaghan equation of state. More...

#include <Eos.h>

Inheritance diagram for MurnaghanEos:
IEos Polymorphic

Public Member Functions

 MurnaghanEos (const BodySettings &settings)
 
virtual Pair< Floatevaluate (const Float rho, const Float u) const override
 Computes pressure and local sound speed from given density rho and specific internal energy u. More...
 
virtual Float getInternalEnergy (const Float UNUSED(rho), const Float UNUSED(p)) const override
 Currently not implemented. More...
 
virtual Float getDensity (const Float UNUSED(p), const Float UNUSED(u)) const override
 Currently not implemented. More...
 
- Public Member Functions inherited from IEos
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

Murnaghan equation of state.

Pressure is computed from density only (does not depend on energy).

Definition at line 161 of file Eos.h.

Constructor & Destructor Documentation

◆ MurnaghanEos()

MurnaghanEos::MurnaghanEos ( const BodySettings settings)
explicit

Definition at line 194 of file Eos.cpp.

Member Function Documentation

◆ evaluate()

Pair< Float > MurnaghanEos::evaluate ( const Float  rho,
const Float  u 
) const
overridevirtual

Computes pressure and local sound speed from given density rho and specific internal energy u.

Implements IEos.

Definition at line 198 of file Eos.cpp.

◆ getDensity()

virtual Float MurnaghanEos::getDensity ( const Float   UNUSEDp,
const Float   UNUSED
) const
inlineoverridevirtual

Currently not implemented.

Definition at line 177 of file Eos.h.

◆ getInternalEnergy()

virtual Float MurnaghanEos::getInternalEnergy ( const Float   UNUSEDrho,
const Float   UNUSED
) const
inlineoverridevirtual

Currently not implemented.

Definition at line 172 of file Eos.h.


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