Compute item for the local Mach number, \(\text{Ma}\).
More...
#include <MachNumber.hpp>
template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
struct NewtonianEuler::Tags::MachNumberCompute< DataType, Dim, Fr >
Compute item for the local Mach number, \(\text{Ma}\).
- See also
- NewtonianEuler::mach_number
Can be retrieved using NewtonianEuler::Tags::MachNumber
◆ argument_tags
template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
Initial value:
tmpl::list<hydro::Tags::SpatialVelocity<DataType, Dim, Fr>,
◆ function
template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
Initial value:= static_cast<void (*)(
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition TypeAliases.hpp:21
void mach_number(gsl::not_null< Scalar< DataType > * > result, const tnsr::I< DataType, Dim, Fr > &velocity, const Scalar< DataType > &sound_speed)
The documentation for this struct was generated from the following file:
- src/Evolution/Systems/NewtonianEuler/MachNumber.hpp