Namespaces | Typedefs | Functions
hydro Namespace Reference

Items related to hydrodynamic systems. More...

Namespaces

 Tags
 Tags for hydrodynamic systems.
 

Typedefs

template<typename DataType >
using grmhd_tags = tmpl::list< hydro::Tags::RestMassDensity< DataType >, hydro::Tags::SpecificInternalEnergy< DataType >, hydro::Tags::SpatialVelocity< DataType, 3, Frame::Inertial >, hydro::Tags::MagneticField< DataType, 3, Frame::Inertial >, hydro::Tags::DivergenceCleaningField< DataType >, hydro::Tags::LorentzFactor< DataType >, hydro::Tags::Pressure< DataType >, hydro::Tags::SpecificEnthalpy< DataType > >
 The tags for the primitive variables for GRMHD.
 

Functions

template<typename DataType >
Scalar< DataType > specific_enthalpy (const Scalar< DataType > &rest_mass_density, const Scalar< DataType > &specific_internal_energy, const Scalar< DataType > &pressure) noexcept
 Computes the relativistic specific enthalpy \(h\) as: \( h = 1 + \epsilon + \frac{p}{\rho} \) where \(\epsilon\) is the specific internal energy, \(p\) is the pressure, and \(\rho\) is the rest mass density.
 
template<typename DataType , size_t Dim, typename Fr >
Scalar< DataType > lorentz_factor (const tnsr::I< DataType, Dim, Fr > &spatial_velocity, const tnsr::i< DataType, Dim, Fr > &spatial_velocity_form) noexcept
 Computes the Lorentz factor \(W=1/\sqrt{1 - v^i v_i}\).
 
template<typename DataType >
Scalar< DataType > lorentz_factor (const Scalar< DataType > &spatial_velocity_squared) noexcept
 Computes the Lorentz factor \(W=1/\sqrt{1 - v^i v_i}\).
 

Detailed Description

Items related to hydrodynamic systems.