#include <state_equation.h>
Public Member Functions | |
State_Equation (const double velocity_of_sound, const double rho_0) | |
double | get_pressure_from_density (const double rho) const |
double | get_energy (const double m, const double rho) const |
void | set_rho_0 (const double rho_0) |
void | set_velocity_of_sound (const double c) |
double | get_rho_0 () const |
double | get_velocity_of_sound () const |
|
Constructor. |
|
Get pressure from mass m and density rho. |
|
Get pressure from density. |
|
Get equilibrium density. |
|
Get velocity of sound. |
|
Set equilibrium density. |
|
Set velocity of sound. |