![]() |
ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
|
#include <source/euler_barotropic/barotropic_equation_of_state_isothermal.h>


Public Member Functions | |
| Isothermal (const std::string &subsection) | |
| double | specific_internal_energy (double rho) const final |
| double | pressure (double rho) const final |
| double | speed_of_sound (double) const final |
Public Member Functions inherited from ryujin::BarotropicEquationOfStateLibrary::BarotropicEquationOfState | |
| BarotropicEquationOfState (const std::string &name, const std::string &subsection) | |
Isothermal equation of state for the barotropic Euler equations. The specific internal energy, pressure, and speed of sound are given by:
\begin{align} e &= c^2 \,\log(\rho), \qquad p &= c^2 \,\rho, \qquad a^2 &= c^2. \end{align}
Definition at line 28 of file barotropic_equation_of_state_isothermal.h.
|
inline |
Definition at line 31 of file barotropic_equation_of_state_isothermal.h.
|
inlinefinalvirtual |
Return the specific internal energy e for a given density rho.
Implements ryujin::BarotropicEquationOfStateLibrary::BarotropicEquationOfState.
Definition at line 40 of file barotropic_equation_of_state_isothermal.h.
|
inlinefinalvirtual |
Return the pressure for a given density rho.
Implements ryujin::BarotropicEquationOfStateLibrary::BarotropicEquationOfState.
Definition at line 45 of file barotropic_equation_of_state_isothermal.h.
|
inlinefinalvirtual |
Return the sound speed c for a given density rho.
Implements ryujin::BarotropicEquationOfStateLibrary::BarotropicEquationOfState.
Definition at line 50 of file barotropic_equation_of_state_isothermal.h.