65 virtual double getEnergy(
double pressure,
double density) = 0;
73 virtual double getSoundSpeed(
double pressure,
double density) = 0;
128 virtual double getEnergy(
double pressure,
double density);
136 virtual double getSoundSpeed(
double pressure,
double density);
203 virtual double getEnergy(
double pressure,
double density);
212 virtual double getSoundSpeed(
double pressure,
double density);
virtual ~StiffPolytropicGasEOS()
Destructor.
Definition: eos.h:183
virtual double getEnergy(double pressure, double density)
Calculates energy based on the Polytropic gas eos and the input pressure and density values...
Definition: eos.cpp:10
virtual ~EOS()
Destructor.
Definition: eos.h:47
PolytropicGasEOS(double gamma)
Constructor.
Definition: eos.h:110
double m_fEinf
The parameter energy infinity.
Definition: eos.h:170
virtual double getEnergy(double pressure, double density)=0
Calculates energy based on this EOS and the input pressure and density values.
virtual void getParameters(std::vector< double > ¶ms)=0
Getter function of all the parameters specified in the construtor argument list.
int getEOSChoice()
Getter function of the protected data member m_iEOSChoice.
Definition: eos.h:50
double m_fPinf
The parameter pressure infinity.
Definition: eos.h:169
double m_fGamma
The parameter gamma.
Definition: eos.h:168
virtual void getParameters(std::vector< double > ¶ms)
Getter function of all the parameters specified in the construtor argument list.
Definition: eos.h:120
virtual double getSoundSpeed(double pressure, double density)
Calculates sound speed based on the Polytropic gas eos and the input pressure and density values...
Definition: eos.cpp:20
An abstract class for the calculation of energy and sound speed based on different EOS models...
Definition: eos.h:42
virtual double getSoundSpeed(double pressure, double density)
Calculates sound speed based on the Stiffened Polytropic gas eos and the input pressure and density v...
Definition: eos.cpp:67
double m_fGamma
The parameter gamma.
Definition: eos.h:103
virtual double getSoundSpeed(double pressure, double density)=0
Calculates sound speed based on this EOS and the input pressure and density values.
virtual double getEnergy(double pressure, double density)
Calculates energy based on the Stiffened Polytropic gas eos and the input pressure and density values...
Definition: eos.cpp:55
StiffPolytropicGasEOS(double gamma, double pinf, double einf)
Constructor.
Definition: eos.h:179
virtual void getParameters(std::vector< double > ¶ms)
Getter function of all the parameters specified in the construtor argument list.
Definition: eos.h:190
Calculates energy and sound speed based on the Stiffened Polytropic gas eos model.
Definition: eos.h:166
int m_iEOSChoice
The eos choice: 1=Polytropic gas; 2=Stiffened Polytropic gas.
Definition: eos.h:44
Calculates energy and sound speed based on the Polytropic gas eos model.
Definition: eos.h:101