SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
NewtonianEuler::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 NewtonianEuler::Tags::InternalEnergyDensity< DataType >
using type = Scalar<DataType>

Static Public Attributes

static constexpr auto function

Detailed Description

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

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

See also
NewtonianEuler::internal_energy_density

Can be retrieved using NewtonianEuler::Tags::InternalEnergyDensity

Member Typedef Documentation

◆ argument_tags

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

Member Data Documentation

◆ function

template<typename DataType>
auto NewtonianEuler::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:197
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/NewtonianEuler/InternalEnergyDensity.hpp