Template Struct IdealEOS
Defined in File eos.hpp
Struct Documentation
-
template<typename Real>
struct IdealEOS Ideal gas equation of state.
Public Functions
-
template<typename Backend>
inline void gas_pressure(Backend btag, mhd::FieldsView<const Real> qq, Array3DView<Real> pr) const Compute gas pressure from primitive MHD fields.
注釈
The signature must not be changed as it is called inside mhd::MHD.
-
template<typename Backend>
inline void sound_speed(Backend btag, mhd::FieldsView<const Real> qq, Array3DView<Real> cs) const Compute speed of sound from primitive MHD fields.
注釈
The signature must not be changed as it is called inside mhd::MHD.
-
template<typename Backend>