|
GridFire v0.7.0-alpha
General Purpose Nuclear Network
|
Structure holding derivatives and energy generation for a network step. More...
#include <engine_abstract.h>
Public Member Functions | |
| StepDerivatives () | |
Public Attributes | |
| std::map< fourdst::atomic::Species, T > | dydt {} |
| Derivatives of abundances (dY/dt for each species). | |
| T | nuclearEnergyGenerationRate = T(0.0) |
| Specific energy generation rate (e.g., erg/g/s). | |
| std::map< fourdst::atomic::Species, std::unordered_map< std::string, T > > | reactionContributions {} |
Structure holding derivatives and energy generation for a network step.
| T | Numeric type (double or CppAD::AD<double>). |
This struct is used to return both the time derivatives of all species abundances and the specific nuclear energy generation rate for a single network evaluation.
Example usage:
|
inline |
| std::map<fourdst::atomic::Species, T> gridfire::engine::StepDerivatives< T >::dydt {} |
Derivatives of abundances (dY/dt for each species).
| T gridfire::engine::StepDerivatives< T >::nuclearEnergyGenerationRate = T(0.0) |
Specific energy generation rate (e.g., erg/g/s).
| std::map<fourdst::atomic::Species, std::unordered_map<std::string, T> > gridfire::engine::StepDerivatives< T >::reactionContributions {} |