SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes > Struct Template Reference

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)
 

Detailed Description

template<typename OrderedListOfRecoverySchemes>
struct grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes >

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.


The documentation for this struct was generated from the following file: