SpECTRE  v2024.04.12
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 = tmpl::list< CutoffDForInversion, DensityWhenSkippingInversion, KastaunMaxLorentzFactor >
 

Public Member Functions

 PrimitiveFromConservativeOptions (double cutoff_d_for_inversion, double density_when_skipping_inversion, double kastaun_max_lorentz_factor)
 
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 Data Documentation

◆ help

constexpr 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: