SpECTRE  v2024.04.12
grmhd::AnalyticData::CcsnCollapse::MaxDensityRatioForLinearInterpolation Struct Reference

Maximum density ratio for linear interpolation. More...

#include <CcsnCollapse.hpp>

Public Types

using type = double
 

Static Public Member Functions

static type lower_bound ()
 

Static Public Attributes

static constexpr Options::String help
 

Detailed Description

Maximum density ratio for linear interpolation.

If the ratio of two neighboring densities are greater than this value, then interpolation onto the SpECTRE grid reverts to linear, to avoid oscillations. A ratio of 100 is used for the rotating TOV star test and a safe value to use if unsure.

Member Data Documentation

◆ help

constexpr Options::String grmhd::AnalyticData::CcsnCollapse::MaxDensityRatioForLinearInterpolation::help
staticconstexpr
Initial value:
= {
"If the ratio between neighboring density points is greater"
" than this parameter, fall back to linear interpolation"
" onto the SpECTRE grid."}

The documentation for this struct was generated from the following file: