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

Simplified Tillotsons equation of state, valid for small pressures and energies. More...

#include <Eos.h>

Inheritance diagram for SimplifiedTillotsonEos:
IEos Polymorphic

Public Member Functions

 SimplifiedTillotsonEos (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

Simplified Tillotsons equation of state, valid for small pressures and energies.

See [Jutzi_2008].

Definition at line 136 of file Eos.h.

Constructor & Destructor Documentation

◆ SimplifiedTillotsonEos()

SimplifiedTillotsonEos::SimplifiedTillotsonEos ( const BodySettings settings)
explicit

Definition at line 175 of file Eos.cpp.

Member Function Documentation

◆ evaluate()

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

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

Todo:
Correctly, has to depend on u!

Implements IEos.

Definition at line 183 of file Eos.cpp.

◆ getDensity()

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

Currently not implemented.

Definition at line 153 of file Eos.h.

◆ getInternalEnergy()

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

Currently not implemented.

Definition at line 148 of file Eos.h.


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