Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamphys::EOS_Config_Barotropic< Tscal > Struct Template Reference

Configuration struct for the barotropic equation of state. More...

#include <shamphys/include/shamphys/eos_config.hpp>

Public Attributes

Tscal cs0
Tscal rho0
Tscal gamma0

Detailed Description

template<class Tscal>
struct shamphys::EOS_Config_Barotropic< Tscal >

Configuration struct for the barotropic equation of state.

Template Parameters
TscalScalar type

The equation of state is given by: \( P = c_{s,0}^2 \rho \left[1 + (\rho / \rho_0)^{\gamma_0 - 1}\right] \), see shamphys::EOS_Barotropic.

Definition at line 123 of file eos_config.hpp.

Member Data Documentation

◆ cs0

template<class Tscal>
Tscal shamphys::EOS_Config_Barotropic< Tscal >::cs0

Definition at line 124 of file eos_config.hpp.

◆ gamma0

template<class Tscal>
Tscal shamphys::EOS_Config_Barotropic< Tscal >::gamma0

Definition at line 126 of file eos_config.hpp.

◆ rho0

template<class Tscal>
Tscal shamphys::EOS_Config_Barotropic< Tscal >::rho0

Definition at line 125 of file eos_config.hpp.


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