SpECTRE  v2024.04.12
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 = tmpl::list< hydro::Tags::RestMassDensity< DataType >, hydro::Tags::SpecificInternalEnergy< DataType > >
 
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 Data Documentation

◆ function

template<typename DataType >
constexpr auto NewtonianEuler::Tags::InternalEnergyDensityCompute< DataType >::function
staticconstexpr
Initial value:
=
static_cast<void (*)(const gsl::not_null<Scalar<DataType>*>,
&internal_energy_density<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: