SpECTRE  v2024.04.12
hydro::Tags::MassWeightedInternalEnergyCompute< 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, SpecificInternalEnergy< DataType > >
 
using return_type = Scalar< DataType >
 
using base = MassWeightedInternalEnergy< DataType >
 
- Public Types inherited from hydro::Tags::MassWeightedInternalEnergy< DataType >
using type = Scalar< DataType >
 

Static Public Attributes

static constexpr auto function
 

Detailed Description

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

Compute item for mass-weighted internal energy.

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

Member Data Documentation

◆ function

template<typename DataType >
constexpr auto hydro::Tags::MassWeightedInternalEnergyCompute< DataType >::function
staticconstexpr
Initial value:
=
static_cast<void (*)(const gsl::not_null<Scalar<DataType>*> result,
const Scalar<DataType>& tilde_d,
const Scalar<DataType>& specific_internal_energy)>(
&mass_weighted_internal_energy<DataType>)
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: