SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
hydro::Tags::MassWeightedInternalEnergyCompute< DataType > Struct Template Reference

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

#include <MassWeightedFluidItems.hpp>

Public Types

using argument_tags
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 Typedef Documentation

◆ argument_tags

template<typename DataType>
using hydro::Tags::MassWeightedInternalEnergyCompute< DataType >::argument_tags
Initial value:
The densitized rest-mass density .
Definition Tags.hpp:32
The specific internal energy .
Definition Tags.hpp:286

Member Data Documentation

◆ function

template<typename DataType>
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)>(
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition TypeAliases.hpp:21
void mass_weighted_internal_energy(gsl::not_null< Scalar< DataType > * > result, const Scalar< DataType > &tilde_d, const Scalar< DataType > &specific_internal_energy)
Compute tilde_d * specific_internal_energy Result of the calculation stored in result.

The documentation for this struct was generated from the following file:
  • src/PointwiseFunctions/Hydro/MassWeightedFluidItems.hpp