Compute item for mass-weighted internal energy.
More...
#include <MassWeightedFluidItems.hpp>
template<typename DataType>
struct hydro::Tags::MassWeightedKineticEnergyCompute< DataType >
Compute item for mass-weighted internal energy.
Can be retrieved using ‘hydro::Tags::MassWeightedKineticEnergy’
◆ argument_tags
template<typename DataType>
◆ function
template<typename DataType>
Initial value:= static_cast<void (*)(
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 lorentz_factor(gsl::not_null< Scalar< DataType > * > result, const tnsr::I< DataType, Dim, Frame > &spatial_velocity, const tnsr::i< DataType, Dim, Frame > &spatial_velocity_form)
Computes the Lorentz factor .
void mass_weighted_kinetic_energy(gsl::not_null< Scalar< DataType > * > result, const Scalar< DataType > &tilde_d, const Scalar< DataType > &lorentz_factor)
Compute tilde_d * (lorentz_factor - 1.0) Result of the calculation stored in result.
The documentation for this struct was generated from the following file:
- src/PointwiseFunctions/Hydro/MassWeightedFluidItems.hpp