Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shammath::FluidStateAdiabatic< VecType > Struct Template Reference

FluidStateSpec implementation for an ideal (adiabatic) gas equation of state. More...

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

Public Types

using Tvec = VecType
using Tscal = shambase::VecComponent<Tvec>
using Tprim = PrimState<Tvec>
using Tcons = ConsState<Tvec>

Public Member Functions

Tprim cons_to_prim (Tcons c) const
Tcons prim_to_cons (Tprim p) const
Tscal sound_speed (Tprim p) const
Tscal vn (Tprim p, Tvec n) const
Tcons flux (Tprim p, Tvec n, Tscal vn) const
Tcons flux (Tprim p, Tvec n) const
Tscal gamma () const

Public Attributes

Tscal m_gamma

Detailed Description

template<class VecType>
struct shammath::FluidStateAdiabatic< VecType >

FluidStateSpec implementation for an ideal (adiabatic) gas equation of state.

Definition at line 584 of file riemann_common.hpp.

Member Typedef Documentation

◆ Tcons

template<class VecType>
using shammath::FluidStateAdiabatic< VecType >::Tcons = ConsState<Tvec>

Definition at line 588 of file riemann_common.hpp.

◆ Tprim

template<class VecType>
using shammath::FluidStateAdiabatic< VecType >::Tprim = PrimState<Tvec>

Definition at line 587 of file riemann_common.hpp.

◆ Tscal

template<class VecType>
using shammath::FluidStateAdiabatic< VecType >::Tscal = shambase::VecComponent<Tvec>

Definition at line 586 of file riemann_common.hpp.

◆ Tvec

template<class VecType>
using shammath::FluidStateAdiabatic< VecType >::Tvec = VecType

Definition at line 585 of file riemann_common.hpp.

Member Function Documentation

◆ cons_to_prim()

template<class VecType>
Tprim shammath::FluidStateAdiabatic< VecType >::cons_to_prim ( Tcons c) const
inline

Definition at line 592 of file riemann_common.hpp.

◆ flux() [1/2]

template<class VecType>
Tcons shammath::FluidStateAdiabatic< VecType >::flux ( Tprim p,
Tvec n ) const
inline

Definition at line 599 of file riemann_common.hpp.

◆ flux() [2/2]

template<class VecType>
Tcons shammath::FluidStateAdiabatic< VecType >::flux ( Tprim p,
Tvec n,
Tscal vn ) const
inline

Definition at line 596 of file riemann_common.hpp.

◆ gamma()

template<class VecType>
Tscal shammath::FluidStateAdiabatic< VecType >::gamma ( ) const
inline

Definition at line 600 of file riemann_common.hpp.

◆ prim_to_cons()

template<class VecType>
Tcons shammath::FluidStateAdiabatic< VecType >::prim_to_cons ( Tprim p) const
inline

Definition at line 593 of file riemann_common.hpp.

◆ sound_speed()

template<class VecType>
Tscal shammath::FluidStateAdiabatic< VecType >::sound_speed ( Tprim p) const
inline

Definition at line 594 of file riemann_common.hpp.

◆ vn()

template<class VecType>
Tscal shammath::FluidStateAdiabatic< VecType >::vn ( Tprim p,
Tvec n ) const
inline

Definition at line 595 of file riemann_common.hpp.

Member Data Documentation

◆ m_gamma

template<class VecType>
Tscal shammath::FluidStateAdiabatic< VecType >::m_gamma

Definition at line 590 of file riemann_common.hpp.


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