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

#include <include/ryujin/euler_aeos/equation_of_state_pressureless.h>

Inheritance diagram for ryujin::EquationsOfState::Pressureless:
Inheritance graph
[legend]
Collaboration diagram for ryujin::EquationsOfState::Pressureless:
Collaboration graph
[legend]

Public Member Functions

 Pressureless (const std::string &subsection)
 
double pressure (double rho, double e) const final
 
double specific_internal_energy (double rho, double p) const final
 
double temperature (double, double e) const final
 
double cold_curve_bound (double) const final
 
double specific_entropy (double, double) const final
 
double speed_of_sound (double, double e) const final
 
virtual double pressure (double rho, double e) const=0
 
virtual double specific_internal_energy (double rho, double p) const=0
 
virtual double speed_of_sound (double, double) const
 
virtual double temperature (double, double) const
 
- Public Member Functions inherited from ryujin::EquationOfState
 EquationOfState (const std::string &name, const std::string &subsection)
 

Additional Inherited Members

- Protected Attributes inherited from ryujin::EquationOfState
double covolume_constant_
 
double interpolation_pinfty_
 
double interpolation_q_
 

Detailed Description

Trivial equation of state for pressureless Euler

Definition at line 20 of file equation_of_state_pressureless.h.

Constructor & Destructor Documentation

◆ Pressureless()

ryujin::EquationsOfState::Pressureless::Pressureless ( const std::string &  subsection)
inline

Definition at line 28 of file equation_of_state_pressureless.h.

Member Function Documentation

◆ pressure() [1/2]

double ryujin::EquationsOfState::Pressureless::pressure ( double  rho,
double  e 
) const
inlinefinalvirtual

The pressure is given by

\begin{align} p = 0.0 \end{align}

Implements ryujin::EquationOfState.

Definition at line 41 of file equation_of_state_pressureless.h.

◆ specific_internal_energy() [1/2]

double ryujin::EquationsOfState::Pressureless::specific_internal_energy ( double  rho,
double  p 
) const
inlinefinalvirtual

The specific internal energy is given by

\begin{align} e = 0 \end{align}

Implements ryujin::EquationOfState.

Definition at line 53 of file equation_of_state_pressureless.h.

◆ temperature() [1/2]

double ryujin::EquationsOfState::Pressureless::temperature ( double  ,
double  e 
) const
inlinefinalvirtual

The temperature is given by

\begin{align} T = 0 \end{align}

Reimplemented from ryujin::EquationOfState.

Definition at line 65 of file equation_of_state_pressureless.h.

◆ cold_curve_bound()

double ryujin::EquationsOfState::Pressureless::cold_curve_bound ( double  ) const
inlinefinalvirtual

The cold curve bound is given by

\begin{align} e_cold = 0 \end{align}

Reimplemented from ryujin::EquationOfState.

Definition at line 76 of file equation_of_state_pressureless.h.

◆ specific_entropy()

double ryujin::EquationsOfState::Pressureless::specific_entropy ( double  ,
double   
) const
inlinefinalvirtual

The specific entropy is given by

\begin{align} s = 0 \end{align}

Reimplemented from ryujin::EquationOfState.

Definition at line 87 of file equation_of_state_pressureless.h.

◆ speed_of_sound() [1/2]

double ryujin::EquationsOfState::Pressureless::speed_of_sound ( double  ,
double  e 
) const
inlinefinalvirtual

The speed of sound is given by

\begin{align} c^2 = 0 \end{align}

Reimplemented from ryujin::EquationOfState.

Definition at line 98 of file equation_of_state_pressureless.h.

◆ pressure() [2/2]

virtual double ryujin::EquationOfState::pressure ( double  rho,
double  e 
) const
virtual

Return the pressure given density rho and specific internal energy e.

Note
This function is implemented for every equation of state.

Implements ryujin::EquationOfState.

◆ specific_internal_energy() [2/2]

virtual double ryujin::EquationOfState::specific_internal_energy ( double  rho,
double  p 
) const
virtual

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

Note
This function is implemented for every equation of state.

Implements ryujin::EquationOfState.

◆ speed_of_sound() [2/2]

virtual double ryujin::EquationOfState::speed_of_sound ( double  ,
double   
) const
inlinevirtual

Return the sound speed c for a given density rho and specific internal energy e.

Note
This function might not be implemented for a given equation of state.

Reimplemented from ryujin::EquationOfState.

Definition at line 120 of file equation_of_state.h.

◆ temperature() [2/2]

virtual double ryujin::EquationOfState::temperature ( double  ,
double   
) const
inlinevirtual

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

Note
This function might not be implemented for a given equation of state.

Reimplemented from ryujin::EquationOfState.

Definition at line 106 of file equation_of_state.h.


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