valSPH
 All Classes Files Functions Variables
EoS Class Referenceabstract

#include <EoS.h>

Inheritance diagram for EoS:
Inheritance graph
Collaboration diagram for EoS:
Collaboration graph

Public Member Functions

 EoS ()
 It creates a new empty EoS. It will be invoked by the constructors of its children classes.
 
virtual vector< double > calculateP (double gamma, vector< double > rho, vector< double > e)=0
 It will be implemented by its children class and calculates the pressure.
 
 ~EoS ()
 It destroys the EoS object.
 

Constructor & Destructor Documentation

EoS::EoS ( )

It creates a new empty EoS. It will be invoked by the constructors of its children classes.

EoS::~EoS ( )

It destroys the EoS object.

Member Function Documentation

virtual vector<double> EoS::calculateP ( double  gamma,
vector< double >  rho,
vector< double >  e 
)
pure virtual

It will be implemented by its children class and calculates the pressure.

Returns
the value of the pressure

Implemented in IdealGasEoS, LSEoS, MIT60EoS, MIT80EoS, and ShenEoS.


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