SpECTRE  v2026.11.11
Loading...
Searching...
No Matches
NewtonianMhd::Tags::InternalEnergyDensityCompute< DataType > Struct Template Reference

Compute item for the internal energy density, \(\rho \epsilon\). More...

#include <InternalEnergyDensity.hpp>

Public Types

using base = InternalEnergyDensity<DataType>
using argument_tags
using return_type = Scalar<DataType>
Public Types inherited from NewtonianMhd::Tags::InternalEnergyDensity< DataType >
using type = Scalar<DataType>

Static Public Attributes

static constexpr auto function

Detailed Description

template<typename DataType>
struct NewtonianMhd::Tags::InternalEnergyDensityCompute< DataType >

Compute item for the internal energy density, \(\rho \epsilon\).

See also
NewtonianMhd::internal_energy_density

Can be retrieved using NewtonianMhd::Tags::InternalEnergyDensity

Member Typedef Documentation

◆ argument_tags

template<typename DataType>
using NewtonianMhd::Tags::InternalEnergyDensityCompute< DataType >::argument_tags
Initial value:
tmpl::list<hydro::Tags::RestMassDensity<DataType>,
The specific internal energy .
Definition Tags.hpp:292

Member Data Documentation

◆ function

template<typename DataType>
auto NewtonianMhd::Tags::InternalEnergyDensityCompute< DataType >::function
staticconstexpr
Initial value:
=
static_cast<void (*)(const gsl::not_null<Scalar<DataType>*>,
Require a pointer to not be a nullptr
Definition Gsl.hpp:225
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition TypeAliases.hpp:21
void internal_energy_density(gsl::not_null< Scalar< DataType > * > result, const Scalar< DataType > &mass_density, const Scalar< DataType > &specific_internal_energy)

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