valSPH
 All Classes Files Functions Variables
ShenEoS Class Reference

#include <ShenEoS.h>

Inheritance diagram for ShenEoS:
Inheritance graph
Collaboration diagram for ShenEoS:
Collaboration graph

Public Member Functions

 ShenEoS ()
 It creates a new empty ShenEoS.
 
vector< double > calculateP (double gamma, vector< double > rho, vector< double > e)
 It calculates the pressure.
 
 ~ShenEoS ()
 It destroys the ShenEoS object.
 
- Public Member Functions inherited from EoS
 EoS ()
 It creates a new empty EoS. It will be invoked by the constructors of its children classes.
 
 ~EoS ()
 It destroys the EoS object.
 

Constructor & Destructor Documentation

ShenEoS::ShenEoS ( )

It creates a new empty ShenEoS.

ShenEoS::~ShenEoS ( )

It destroys the ShenEoS object.

Member Function Documentation

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

It calculates the pressure.

Parameters
gammaadiabatic index
rhorest mass density (densidad de masa en reposo)
ethe specific internal energy
Returns
the value of the pressure

Implements EoS.


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