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

Compute item for the kinetic energy density, \(\rho v^2/2\). More...

#include <KineticEnergyDensity.hpp>

Public Types

using base = KineticEnergyDensity< DataType >
 
using argument_tags = tmpl::list< hydro::Tags::RestMassDensity< DataType >, hydro::Tags::SpatialVelocity< DataType, Dim, Fr > >
 
using return_type = Scalar< DataType >
 
- Public Types inherited from NewtonianEuler::Tags::KineticEnergyDensity< 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::KineticEnergyDensityCompute< DataType, Dim, Fr >

Compute item for the kinetic energy density, \(\rho v^2/2\).

See also
NewtonianEuler::kinetic_energy_density

Can be retrieved using NewtonianEuler::Tags::KineticEnergyDensity

Member Data Documentation

◆ function

template<typename DataType , size_t Dim, typename Fr = Frame::Inertial>
constexpr auto NewtonianEuler::Tags::KineticEnergyDensityCompute< DataType, Dim, Fr >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
&kinetic_energy_density<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: