ryujin 2.5.0 revision 3a6c8d57210175dea14d8116e1fe878f349f8c1c
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ryujin::BarotropicEquationsOfState::Isothermal Class Reference

#include <include/ryujin/euler_barotropic/barotropic_equation_of_state_isothermal.h>

Inheritance diagram for ryujin::BarotropicEquationsOfState::Isothermal:
Inheritance graph
[legend]
Collaboration diagram for ryujin::BarotropicEquationsOfState::Isothermal:
Collaboration graph
[legend]

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::BarotropicEquationOfState
 BarotropicEquationOfState (const std::string &name, const std::string &subsection)
 

Detailed Description

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 27 of file barotropic_equation_of_state_isothermal.h.

Constructor & Destructor Documentation

◆ Isothermal()

ryujin::BarotropicEquationsOfState::Isothermal::Isothermal ( const std::string &  subsection)
inline

Definition at line 30 of file barotropic_equation_of_state_isothermal.h.

Member Function Documentation

◆ specific_internal_energy()

double ryujin::BarotropicEquationsOfState::Isothermal::specific_internal_energy ( double  rho) const
inlinefinalvirtual

Return the specific internal energy e for a given density rho.

Implements ryujin::BarotropicEquationOfState.

Definition at line 39 of file barotropic_equation_of_state_isothermal.h.

◆ pressure()

double ryujin::BarotropicEquationsOfState::Isothermal::pressure ( double  rho) const
inlinefinalvirtual

Return the pressure for a given density rho.

Implements ryujin::BarotropicEquationOfState.

Definition at line 44 of file barotropic_equation_of_state_isothermal.h.

◆ speed_of_sound()

double ryujin::BarotropicEquationsOfState::Isothermal::speed_of_sound ( double  rho) const
inlinefinalvirtual

Return the sound speed c for a given density rho.

Implements ryujin::BarotropicEquationOfState.

Definition at line 49 of file barotropic_equation_of_state_isothermal.h.


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