GridFire 0.0.1a
General Purpose Nuclear Network
|
Namespaces | |
namespace | approx8 |
namespace | io |
namespace | reaclib |
namespace | reaction |
namespace | screening |
namespace | solver |
namespace | utils |
Classes | |
class | AdaptiveEngineView |
An engine view that dynamically adapts the reaction network based on runtime conditions. More... | |
class | DynamicEngine |
Abstract class for engines supporting Jacobian and stoichiometry operations. More... | |
class | Engine |
Abstract base class for a reaction network engine. More... | |
class | EngineView |
Abstract base class for a "view" of a reaction network engine. More... | |
class | FileDefinedEngineView |
An engine view that uses a user-defined reaction network from a file. More... | |
class | GraphEngine |
A reaction network engine that uses a graph-based representation. More... | |
struct | NetIn |
struct | NetOut |
class | Network |
struct | StepDerivatives |
Structure holding derivatives and energy generation for a network step. More... | |
Concepts | |
concept | IsArithmeticOrAD |
Concept for types allowed in engine calculations. | |
concept | EngineType |
Concept for types allowed as engine bases in EngineView. | |
Typedefs | |
typedef CppAD::AD< double > | ADDouble |
Alias for CppAD AD type for double precision. | |
Enumerations | |
enum | NetworkFormat { APPROX8 , REACLIB , UNKNOWN } |
Functions | |
reaction::LogicalReactionSet | build_reaclib_nuclear_network (const fourdst::composition::Composition &composition, bool reverse) |
std::string | trim_whitespace (const std::string &str) |
Variables | |
static constexpr double | MIN_DENSITY_THRESHOLD = 1e-18 |
Minimum density threshold below which reactions are ignored. | |
static constexpr double | MIN_ABUNDANCE_THRESHOLD = 1e-18 |
Minimum abundance threshold below which species are ignored. | |
static constexpr double | MIN_JACOBIAN_THRESHOLD = 1e-24 |
Minimum value for Jacobian matrix entries. | |
static std::unordered_map< NetworkFormat, std::string > | FormatStringLookup |
typedef CppAD::AD<double> gridfire::ADDouble |
Alias for CppAD AD type for double precision.
This alias simplifies the use of the CppAD automatic differentiation type.
Definition at line 34 of file engine_graph.h.
reaction::LogicalReactionSet gridfire::build_reaclib_nuclear_network | ( | const fourdst::composition::Composition & | composition, |
bool | reverse ) |
Definition at line 64 of file network.cpp.
std::string gridfire::trim_whitespace | ( | const std::string & | str | ) |
Definition at line 91 of file network.cpp.
|
inlinestatic |
|
staticconstexpr |
Minimum abundance threshold below which species are ignored.
Species with abundances below this threshold are treated as zero in reaction rate calculations. This helps to improve performance by avoiding unnecessary calculations for trace species.
Definition at line 56 of file engine_graph.h.
|
staticconstexpr |
Minimum density threshold below which reactions are ignored.
Reactions are not calculated if the density falls below this threshold. This helps to improve performance by avoiding unnecessary calculations in very low-density regimes.
Definition at line 47 of file engine_graph.h.
|
staticconstexpr |
Minimum value for Jacobian matrix entries.
Jacobian matrix entries with absolute values below this threshold are treated as zero to maintain sparsity and improve performance.
Definition at line 64 of file engine_graph.h.