valSPH
 All Classes Files Functions Variables
IdealGasEoS Class Reference

#include <IdealGasEoS.h>

Inheritance diagram for IdealGasEoS:
Inheritance graph
Collaboration diagram for IdealGasEoS:
Collaboration graph

Public Member Functions

 IdealGasEoS ()
 It creates a new empty EoS. It will be invoked by the constructors of its children classes.
 
vector< double > calculateP (double gamma, vector< double > rho, vector< double > e)
 It will be implemented by its children class and calculates the pressure.
 
 ~IdealGasEoS ()
 It destroys the EoS 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

IdealGasEoS::IdealGasEoS ( )

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

IdealGasEoS::~IdealGasEoS ( )

It destroys the EoS object.

Member Function Documentation

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

It will be implemented by its children class and 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: