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

ANEOS equation defined by a look-up table. More...

#include <Eos.h>

Inheritance diagram for Aneos:
IEos Polymorphic

Public Member Functions

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

ANEOS equation defined by a look-up table.

Definition at line 183 of file Eos.h.

Constructor & Destructor Documentation

◆ Aneos()

Aneos::Aneos ( const BodySettings settings)
explicit

Definition at line 208 of file Eos.cpp.

Member Function Documentation

◆ evaluate()

Pair< Float > Aneos::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 212 of file Eos.cpp.

◆ getDensity()

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

Currently not implemented.

Definition at line 196 of file Eos.h.

◆ getInternalEnergy()

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

Currently not implemented.

Definition at line 191 of file Eos.h.


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