SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
grmhd::ValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes > 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 grmhd::ValenciaDivClean::FixConservatives &fix_conservatives, const EquationsOfState::EquationOfState< true, 3 > &eos, const tnsr::ii< DataVector, 3, Frame::Inertial > &spatial_metric, const tnsr::II< DataVector, 3, Frame::Inertial > &inv_spatial_metric, const Scalar< DataVector > &sqrt_det_spatial_metric, const grmhd::ValenciaDivClean::PrimitiveFromConservativeOptions &primitive_from_conservative_options)

Detailed Description

template<typename OrderedListOfRecoverySchemes>
struct grmhd::ValenciaDivClean::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.

Member Typedef Documentation

◆ argument_tags

template<typename OrderedListOfRecoverySchemes>
using grmhd::ValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes >::argument_tags
Initial value:
tmpl::list<
The global cache tag for the variable fixer.
Definition Tags.hpp:41
Inverse of the spatial metric.
Definition Tags.hpp:32
Definition Tags.hpp:25
Definition Tags.hpp:43
The equation of state retrieved from the analytic solution / data in the input file.
Definition Tags.hpp:343

◆ return_tags

template<typename OrderedListOfRecoverySchemes>
using grmhd::ValenciaDivClean::subcell::FixConservativesAndComputePrims< OrderedListOfRecoverySchemes >::return_tags
Initial value:
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/ValenciaDivClean/Subcell/FixConservativesAndComputePrims.hpp