|
SpECTRE
v2026.11.17
|
Fix the conservative variables and compute the primitive variables. More...
#include <FixConservativesAndComputePrims.hpp>
Public Types | |
| using | return_tags |
| using | argument_tags |
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 > &inertial_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.
CoordinatesTag holds the inertial coordinates of the grid the variables are on. They are only printed if an error occurs. The default is the subcell grid; use domain::Tags::Coordinates<3, Frame::Inertial> when the variables are on the DG grid.
| using grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes, System, CoordinatesTag >::argument_tags |
| using grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes, System, CoordinatesTag >::return_tags |