SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
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
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 Typedef Documentation

◆ argument_tags

template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
using NewtonianEuler::Tags::SpecificKineticEnergyCompute< DataType, Dim, Fr >::argument_tags
Initial value:
tmpl::list<hydro::Tags::SpatialVelocity<DataType, Dim, Fr>>

Member Data Documentation

◆ function

template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
auto NewtonianEuler::Tags::SpecificKineticEnergyCompute< DataType, Dim, Fr >::function
staticconstexpr
Initial value:
=
static_cast<void (*)(const gsl::not_null<Scalar<DataType>*>,
const tnsr::I<DataType, Dim, Fr>&)>(
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
void specific_kinetic_energy(gsl::not_null< Scalar< DataType > * > result, const tnsr::I< DataType, Dim, Fr > &velocity)

The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/NewtonianEuler/SpecificKineticEnergy.hpp