SpECTRE
v2025.03.17
|
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 | MagneticFieldCutoff |
The cutoff where if the maximum of the magnetic field in an element is below this value we do not apply the Persson TCI to the magnetic field. 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 | MinimumValueOfTildeTau |
Minimum value of | |
struct | MinimumValueOfYe |
Minimum value of | |
struct | SafetyFactorForB |
Safety factor | |
Public Types | |
using | options = implementation defined |
Public Member Functions | |
TciOptions (double minimum_rest_mass_density_times_lorentz_factor_in, double minimum_ye_in, double minimum_tilde_tau_in, double atmosphere_density_in, double safety_factor_for_magnetic_field_in, std::optional< double > magnetic_field_cutoff_in) | |
void | pup (PUP::er &p) |
Public Attributes | |
double | minimum_rest_mass_density_times_lorentz_factor |
double | minimum_ye {std::numeric_limits<double>::signaling_NaN()} |
double | minimum_tilde_tau {std::numeric_limits<double>::signaling_NaN()} |
double | atmosphere_density {std::numeric_limits<double>::signaling_NaN()} |
double | safety_factor_for_magnetic_field |
std::optional< double > | magnetic_field_cutoff |
Static Public Attributes | |
static constexpr Options::String | help |
Class holding options using by the GRMHD-specific parts of the troubled-cell indicator.
|
staticconstexpr |
std::optional<double> grmhd::ValenciaDivClean::subcell::TciOptions::magnetic_field_cutoff |
double grmhd::ValenciaDivClean::subcell::TciOptions::minimum_rest_mass_density_times_lorentz_factor |
double grmhd::ValenciaDivClean::subcell::TciOptions::safety_factor_for_magnetic_field |