|
GridFire 0.0.1a
General Purpose Nuclear Network
|
Configuration struct for the QSE cache. More...
#include <engine_multiscale.h>
Public Attributes | |
| double | T9_tol |
| Absolute tolerance to produce the same hash for T9. | |
| double | rho_tol |
| Absolute tolerance to produce the same hash for rho. | |
| double | Yi_tol |
| Absolute tolerance to produce the same hash for species abundances. | |
Configuration struct for the QSE cache.
@purpose This struct defines the tolerances used to determine if a QSE cache key is considered a hit. It allows for tuning the sensitivity of the cache.
@how It works by providing binning widths for temperature, density, and abundances. When a QSECacheKey is created, it uses these tolerances to discretize the continuous physical values into bins. If two sets of conditions fall into the same bins, they will produce the same hash and be considered a cache hit.
QSECacheKey uses this internally. A smaller tolerance (e.g., T9_tol = 1e-4) makes the cache more sensitive, leading to more frequent re-partitions, while a larger tolerance (T9_tol = 1e-2) makes it less sensitive. Definition at line 27 of file engine_multiscale.h.
| double gridfire::QSECacheConfig::rho_tol |
Absolute tolerance to produce the same hash for rho.
Definition at line 29 of file engine_multiscale.h.
| double gridfire::QSECacheConfig::T9_tol |
Absolute tolerance to produce the same hash for T9.
Definition at line 28 of file engine_multiscale.h.
| double gridfire::QSECacheConfig::Yi_tol |
Absolute tolerance to produce the same hash for species abundances.
Definition at line 30 of file engine_multiscale.h.