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

Public Types

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

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Definition at line 31 of file riemann.hpp.

Member Typedef Documentation

◆ Tscal

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

Definition at line 33 of file riemann.hpp.

◆ Tvec

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

Definition at line 32 of file riemann.hpp.

Member Function Documentation

◆ operator*=()

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

Definition at line 79 of file riemann.hpp.

◆ operator+=()

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

Definition at line 53 of file riemann.hpp.

◆ operator-=()

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

Definition at line 66 of file riemann.hpp.

Member Data Documentation

◆ rho

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

Definition at line 35 of file riemann.hpp.

◆ rhoe

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

Definition at line 35 of file riemann.hpp.

◆ rhovel

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

Definition at line 36 of file riemann.hpp.


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