SpECTRE
v2025.03.17
|
Fix the conservative variables and compute the primitive variables. More...
#include <FixConservativesAndComputePrims.hpp>
Public Types | |
using | return_tags = implementation defined |
using | argument_tags = implementation defined |
Static Public Member Functions | |
static void | apply (gsl::not_null< bool * > needed_fixing, gsl::not_null< typename System::variables_tag::type * > conserved_vars_ptr, gsl::not_null< Variables< hydro::grmhd_tags< DataVector > > * > primitive_vars_ptr, const tnsr::I< DataVector, 3, Frame::Inertial > &subcell_coords, const grmhd::ValenciaDivClean::FixConservatives &fix_conservatives, const EquationsOfState::EquationOfState< true, 3 > &eos, const grmhd::ValenciaDivClean::PrimitiveFromConservativeOptions &primitive_from_conservative_options) |
Fix the conservative variables and compute the primitive variables.
Sets ValenciaDivClean::Tags::VariablesNeededFixing
to true
if the conservative variables needed fixing, otherwise sets the tag to false
.