Structure holding derivatives and energy generation for a network step.
More...
#include <engine_abstract.h>
template<IsArithmeticOrAD T>
struct gridfire::engine::StepDerivatives< T >
Structure holding derivatives and energy generation for a network step.
- Template Parameters
-
| 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:
for (
double dydt_i : result.
dydt) {
}
Structure holding derivatives and energy generation for a network step.
Definition engine_abstract.h:53
std::map< fourdst::atomic::Species, T > dydt
Derivatives of abundances (dY/dt for each species).
Definition engine_abstract.h:54
T nuclearEnergyGenerationRate
Specific energy generation rate (e.g., erg/g/s).
Definition engine_abstract.h:55
◆ StepDerivatives()
template<IsArithmeticOrAD T>
◆ dydt
template<IsArithmeticOrAD T>
Derivatives of abundances (dY/dt for each species).
◆ neutrinoEnergyLossRate
template<IsArithmeticOrAD T>
◆ nuclearEnergyGenerationRate
template<IsArithmeticOrAD T>
Specific energy generation rate (e.g., erg/g/s).
◆ reactionContributions
template<IsArithmeticOrAD T>
◆ totalNeutrinoFlux
template<IsArithmeticOrAD T>
The documentation for this struct was generated from the following file: