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

Public Types

using Tvec = VecType
using Tscal = shambase::VecComponent<Tvec>

Public Member Functions

const ConsState & operator+= (const ConsState &)
const ConsState & operator-= (const ConsState &)
const ConsState & operator*= (const Tscal)

Public Attributes

Tscal rho {}
Tscal rhoe {}
Tvec rhovel {}

Detailed Description

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

Definition at line 127 of file riemann_common.hpp.

Member Typedef Documentation

◆ Tscal

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

Definition at line 129 of file riemann_common.hpp.

◆ Tvec

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

Definition at line 128 of file riemann_common.hpp.

Member Function Documentation

◆ operator*=()

template<class VecType>
const ConsState< Tvec > & shammath::ConsState< Tvec >::operator*= ( const Tscal )

Definition at line 175 of file riemann_common.hpp.

◆ operator+=()

template<class Tvec>
const ConsState< Tvec > & shammath::ConsState< Tvec >::operator+= ( const ConsState< VecType > & cst)

Definition at line 149 of file riemann_common.hpp.

◆ operator-=()

template<class Tvec>
const ConsState< Tvec > & shammath::ConsState< Tvec >::operator-= ( const ConsState< VecType > & cst)

Definition at line 162 of file riemann_common.hpp.

Member Data Documentation

◆ rho

template<class VecType>
Tscal shammath::ConsState< VecType >::rho {}

Definition at line 131 of file riemann_common.hpp.

◆ rhoe

template<class VecType>
Tscal shammath::ConsState< VecType >::rhoe {}

Definition at line 131 of file riemann_common.hpp.

◆ rhovel

template<class VecType>
Tvec shammath::ConsState< VecType >::rhovel {}

Definition at line 132 of file riemann_common.hpp.


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