Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Attributes | List of all members
shamphys::EOS_Config_Polytropic< Tscal > Struct Template Reference

Configuration struct for polytropic equation of state. More...

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

Public Attributes

Tscal K
 
Tscal gamma
 

Detailed Description

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

Configuration struct for polytropic equation of state.

Template Parameters
TscalScalar type

This struct holds the configuration for the polytropic equation of state. It contains K and the adiabatic index, which are dimensionless quantities that determines the behavior of the gas.

The equation of state is given by: \( P = K\rho^\gamma \)

Definition at line 92 of file eos_config.hpp.

Member Data Documentation

◆ gamma

template<class Tscal >
Tscal shamphys::EOS_Config_Polytropic< Tscal >::gamma

Definition at line 94 of file eos_config.hpp.

◆ K

template<class Tscal >
Tscal shamphys::EOS_Config_Polytropic< Tscal >::K

Definition at line 93 of file eos_config.hpp.


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