SpECTRE  v2024.04.12
hydro::Tags::MassWeightedKineticEnergyCompute< DataType > Struct Template Reference

Compute item for mass-weighted internal energy. More...

#include <MassWeightedFluidItems.hpp>

Public Types

using argument_tags = tmpl::list< grmhd::ValenciaDivClean::Tags::TildeD, LorentzFactor< DataType > >
 
using return_type = Scalar< DataType >
 
using base = MassWeightedKineticEnergy< DataType >
 
- Public Types inherited from hydro::Tags::MassWeightedKineticEnergy< DataType >
using type = Scalar< DataType >
 

Static Public Attributes

static constexpr auto function
 

Detailed Description

template<typename DataType>
struct hydro::Tags::MassWeightedKineticEnergyCompute< DataType >

Compute item for mass-weighted internal energy.

Can be retrieved using ‘hydro::Tags::MassWeightedKineticEnergy

Member Data Documentation

◆ function

template<typename DataType >
constexpr auto hydro::Tags::MassWeightedKineticEnergyCompute< DataType >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
&mass_weighted_kinetic_energy<DataType>)
Definition: ContractFirstNIndices.hpp:16
Require a pointer to not be a nullptr
Definition: Gsl.hpp:183
void lorentz_factor(gsl::not_null< Scalar< DataType > * > result, const tnsr::I< DataType, Dim, Frame > &spatial_velocity, const tnsr::i< DataType, Dim, Frame > &spatial_velocity_form)
Computes the Lorentz factor .

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