SpECTRE  v2024.04.12
NewtonianEuler::Tags::MachNumberCompute< DataType, Dim, Fr > Struct Template Reference

Compute item for the local Mach number, \(\text{Ma}\). More...

#include <MachNumber.hpp>

Public Types

using base = MachNumber< DataType >
 
using argument_tags = tmpl::list< hydro::Tags::SpatialVelocity< DataType, Dim, Fr >, SoundSpeed< DataType > >
 
using return_type = Scalar< DataType >
 
- Public Types inherited from NewtonianEuler::Tags::MachNumber< DataType >
using type = Scalar< DataType >
 

Static Public Attributes

static constexpr auto function
 

Detailed Description

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

Member Data Documentation

◆ function

template<typename DataType , size_t Dim, typename Fr = Frame::Inertial>
constexpr auto NewtonianEuler::Tags::MachNumberCompute< DataType, Dim, Fr >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const Scalar<DataType>&)>(&mach_number<DataType, Dim, Fr>)
Definition: ContractFirstNIndices.hpp:16
Require a pointer to not be a nullptr
Definition: Gsl.hpp:183

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