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 NewtonianMhd::Tags::SpecificKineticEnergyCompute< DataType, Dim, Fr >
Compute item for the specific kinetic energy, \(v^2/2\).
- See also
- NewtonianMhd::specific_kinetic_energy
Can be retrieved using NewtonianMhd::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:225
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/NewtonianMhd/SpecificKineticEnergy.hpp