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

Isothermal equation of state. More...

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

Static Public Member Functions

static constexpr T pressure (T cs, T rho)

Detailed Description

template<class T>
struct shamphys::EOS_Isothermal< T >

Isothermal equation of state.

Pressure: \( P = c_s^2 \rho \)

Definition at line 32 of file eos.hpp.

Member Function Documentation

◆ pressure()

template<class T>
constexpr T shamphys::EOS_Isothermal< T >::pressure ( T cs,
T rho )
inlinestaticconstexpr

Definition at line 34 of file eos.hpp.


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