SpECTRE
v2025.03.17
|
Compute the fluxes of the conservative variables of the Newtonian Euler system. More...
#include <Fluxes.hpp>
Public Types | |
using | return_tags = implementation defined |
using | argument_tags = implementation defined |
Static Public Member Functions | |
static void | apply (gsl::not_null< tnsr::I< DataVector, Dim > * > mass_density_cons_flux, gsl::not_null< tnsr::IJ< DataVector, Dim > * > momentum_density_flux, gsl::not_null< tnsr::I< DataVector, Dim > * > energy_density_flux, const tnsr::I< DataVector, Dim > &momentum_density, const Scalar< DataVector > &energy_density, const tnsr::I< DataVector, Dim > &velocity, const Scalar< DataVector > &pressure) |
Compute the fluxes of the conservative variables of the Newtonian Euler system.
The fluxes are
where