8 #include "DataStructures/DataBox/Tag.hpp"
10 #include "Evolution/Systems/NewtonianEuler/Tags.hpp"
11 #include "PointwiseFunctions/Hydro/EquationsOfState/EquationOfState.hpp"
12 #include "PointwiseFunctions/Hydro/Tags.hpp"
23 template <
typename DataType,
size_t Dim,
typename Fr>
27 const tnsr::I<DataType, Dim, Fr>& velocity) noexcept;
29 template <
typename DataType,
size_t Dim,
typename Fr>
32 const tnsr::I<DataType, Dim, Fr>& velocity) noexcept;
40 template <
typename DataType,
size_t Dim,
typename Fr = Frame::Inertial>
50 static constexpr
auto function =
static_cast<void (*)(
52 const tnsr::I<DataType, Dim, Fr>&)>(
53 &kinetic_energy_density<DataType, Dim, Fr>);
Mark a struct as a compute tag by inheriting from this.
Definition: Tag.hpp:157
void kinetic_energy_density(gsl::not_null< Scalar< DataType > * > result, const Scalar< DataType > &mass_density, const tnsr::I< DataType, Dim, Fr > &velocity) noexcept
Items related to evolving the Newtonian Euler system.
Definition: EvolveNewtonianEulerFwd.hpp:8
Tensor< T, Symmetry<>, index_list<> > Scalar
Definition: TypeAliases.hpp:21
Require a pointer to not be a nullptr
Definition: ReadSpecThirdOrderPiecewisePolynomial.hpp:13