SpECTRE  v2026.11.17
Loading...
Searching...
No Matches
grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes, System, CoordinatesTag > 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 > &inertial_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, typename CoordinatesTag = evolution::dg::subcell::Tags::Coordinates<3, Frame::Inertial>>
struct grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes, System, CoordinatesTag >

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.

Member Typedef Documentation

◆ argument_tags

template<typename OrderedListOfRecoverySchemes, typename System, typename CoordinatesTag = evolution::dg::subcell::Tags::Coordinates<3, Frame::Inertial>>
using grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes, System, CoordinatesTag >::argument_tags
Initial value:
tmpl::list<
CoordinatesTag,
The global cache tag for the variable fixer.
Definition Tags.hpp:41
The equation of state retrieved from the analytic solution / data in the input file.
Definition Tags.hpp:349

◆ return_tags

template<typename OrderedListOfRecoverySchemes, typename System, typename CoordinatesTag = evolution::dg::subcell::Tags::Coordinates<3, Frame::Inertial>>
using grmhd::GhValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes, System, CoordinatesTag >::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:74

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