SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
grmhd::ValenciaDivClean::PrimitiveFromConservativeOptions Class Reference

Options to be passed to the Con2Prim algorithm. Currently, we simply set a threshold for tildeD below which the inversion is not performed and the density is set to atmosphere values. More...

#include <PrimitiveFromConservativeOptions.hpp>

Classes

struct  CutoffDForInversion
struct  DensityWhenSkippingInversion
struct  KastaunMaxLorentzFactor

Public Types

using options

Public Member Functions

 PrimitiveFromConservativeOptions (double cutoff_d_for_inversion, double density_when_skipping_inversion, double kastaun_max_lorentz_factor, const Options::Context &context={})
void pup (PUP::er &p)
double cutoff_d_for_inversion () const
double density_when_skipping_inversion () const
double kastaun_max_lorentz_factor () const

Static Public Attributes

static constexpr Options::String help

Friends

bool operator== (const PrimitiveFromConservativeOptions &lhs, const PrimitiveFromConservativeOptions &rhs)

Detailed Description

Options to be passed to the Con2Prim algorithm. Currently, we simply set a threshold for tildeD below which the inversion is not performed and the density is set to atmosphere values.

Member Typedef Documentation

◆ options

using grmhd::ValenciaDivClean::PrimitiveFromConservativeOptions::options

Member Data Documentation

◆ help

Options::String grmhd::ValenciaDivClean::PrimitiveFromConservativeOptions::help
staticconstexpr
Initial value:
{
"Options given to conservative to primitive inversion."}

The documentation for this class was generated from the following file:
  • src/Evolution/Systems/GrMhd/ValenciaDivClean/PrimitiveFromConservativeOptions.hpp