SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes, System > Struct Template Reference

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 > &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, typename System>
struct grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes, System >

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.

Member Typedef Documentation

◆ argument_tags

template<typename OrderedListOfRecoverySchemes, typename System>
using grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes, System >::argument_tags
Initial value:
tmpl::list<
The global cache tag for the variable fixer.
Definition Tags.hpp:41
The coordinates in a given frame.
Definition Coordinates.hpp:39
The equation of state retrieved from the analytic solution / data in the input file.
Definition Tags.hpp:343

◆ return_tags

template<typename OrderedListOfRecoverySchemes, typename System>
using grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes, System >::return_tags
Initial value:
tmpl::list<
typename System::variables_tag,
typename System::primitive_variables_tag>
Set to true if the variables needed fixing.
Definition Tags.hpp:69

The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/GrMhd/GhValenciaDivClean/Subcell/FixConservativesAndComputePrims.hpp