#include <py_engine.h>
◆ calculateRHSAndEnergy()
Calculate the right-hand side (dY/dt) and energy generation.
- Parameters
-
| comp | Composition object containing current abundances. |
| T9 | Temperature in units of 10^9 K. |
| rho | Density in g/cm^3. |
- Returns
- expected<StepDerivatives<double>> containing either dY/dt and energy generation rate or a stale engine error indicating that the engine must be updated
This function must be implemented by derived classes to compute the time derivatives of all species and the specific nuclear energy generation rate for the current state.
Implements gridfire::engine::Engine.
◆ getNetworkSpecies()
| const std::vector< fourdst::atomic::Species > & PyEngine::getNetworkSpecies |
( |
| ) |
const |
|
overridevirtual |
Get the list of species in the network.
- Returns
- Vector of Species objects representing all network species.
Implements gridfire::engine::Engine.
◆ m_species_cache
| std::vector<fourdst::atomic::Species> PyEngine::m_species_cache |
|
mutableprivate |
The documentation for this class was generated from the following files: