Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shammath::FluidStateAdiabaticSpec Concept Reference

A FluidStateSpec that also exposes the adiabatic index, for solvers (e.g. HLLC) that need gamma directly rather than only through cons_to_prim/prim_to_cons/flux. Satisfied by a state-independent gamma() (a single constant adiabatic index) or a per-state gamma(prim) (e.g. a spatially/species-varying index); see get_adiabatic_index_lr() for how solvers should read it. More...

#include <shammath/include/shammath/riemann_common.hpp>

Concept definition

template<class T>
A FluidStateSpec that also exposes the adiabatic index, for solvers (e.g. HLLC) that need gamma direc...
An equation of state paired with the flux/wave-speed operations a Riemann solver needs,...
True if T exposes a single, state-independent adiabatic index via gamma().
True if T exposes a per-primitive-state adiabatic index via gamma(prim).

Detailed Description

A FluidStateSpec that also exposes the adiabatic index, for solvers (e.g. HLLC) that need gamma directly rather than only through cons_to_prim/prim_to_cons/flux. Satisfied by a state-independent gamma() (a single constant adiabatic index) or a per-state gamma(prim) (e.g. a spatially/species-varying index); see get_adiabatic_index_lr() for how solvers should read it.

Definition at line 103 of file riemann_common.hpp.