SpECTRE  v2024.03.19
NewtonianEuler::Tags::SpecificKineticEnergyCompute< DataType, Dim, Fr > Struct Template Reference

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

#include <SpecificKineticEnergy.hpp>

Public Types

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

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

See also
NewtonianEuler::specific_kinetic_energy

Can be retrieved using NewtonianEuler::Tags::SpecificKineticEnergy

Member Data Documentation

◆ function

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