Compute item for the specific kinetic energy, \(v^2/2\).
More...
#include <SpecificKineticEnergy.hpp>
template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
struct NewtonianEuler::Tags::SpecificKineticEnergyCompute< DataType, Dim, Fr >
Compute item for the specific kinetic energy, \(v^2/2\).
- See also
- NewtonianEuler::specific_kinetic_energy
Can be retrieved using NewtonianEuler::Tags::SpecificKineticEnergy
◆ argument_tags
template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
Initial value:
tmpl::list<hydro::Tags::SpatialVelocity<DataType, Dim, Fr>>
◆ function
template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
Initial value:=
const tnsr::I<DataType, Dim, Fr>&)>(
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
void specific_kinetic_energy(gsl::not_null< Scalar< DataType > * > result, const tnsr::I< DataType, Dim, Fr > &velocity)
The documentation for this struct was generated from the following file:
- src/Evolution/Systems/NewtonianEuler/SpecificKineticEnergy.hpp