SpECTRE  2021.08.02
grmhd::ValenciaDivClean::subcell::TciOptions Struct Reference

Class holding options using by the GRMHD-specific parts of the troubled-cell indicator. More...

#include <TciOptions.hpp>

Classes

struct  AtmosphereDensity
 The density cutoff where if the maximum value of the density in the DG element is below this value we skip primitive recovery and treat the cell as atmosphere. More...
 
struct  MinimumValueOfD
 Minimum value of rest-mass density times Lorentz factor before we switch to subcell. Used to identify places where the density has suddenly become negative. More...
 
struct  SafetyFactorForB
 Safety factor \(\epsilon_B\). More...
 

Public Types

using options = tmpl::list< MinimumValueOfD, AtmosphereDensity, SafetyFactorForB >
 

Public Member Functions

void pup (PUP::er &p) noexcept
 

Public Attributes

double minimum_rest_mass_density_times_lorentz_factor
 
double atmosphere_density {std::numeric_limits<double>::signaling_NaN()}
 
double safety_factor_for_magnetic_field
 

Static Public Attributes

static constexpr Options::String help
 

Detailed Description

Class holding options using by the GRMHD-specific parts of the troubled-cell indicator.

Member Data Documentation

◆ help

constexpr Options::String grmhd::ValenciaDivClean::subcell::TciOptions::help
staticconstexpr
Initial value:
= {
"Options for the troubled-cell indicator."}

◆ minimum_rest_mass_density_times_lorentz_factor

double grmhd::ValenciaDivClean::subcell::TciOptions::minimum_rest_mass_density_times_lorentz_factor

◆ safety_factor_for_magnetic_field

double grmhd::ValenciaDivClean::subcell::TciOptions::safety_factor_for_magnetic_field