feat(GridFire): Added a number of python hooks

python hooks to make getting base composition more reliable; further, a number of small changes made to aid in my analysis in response to ref report 1
This commit is contained in:
2026-04-13 07:17:14 -04:00
parent 65297852e5
commit 84ff182717
44 changed files with 1676 additions and 2964 deletions

View File

@@ -137,6 +137,18 @@ namespace gridfire::engine {
*/
explicit GraphEngine(const reaction::ReactionSet &reactions);
void addReaction(
const reaction::Reaction& reaction
);
void addReaction(
const std::string& reaction_id
);
std::unique_ptr<scratch::StateBlob> constructStateBlob(
const scratch::StateBlob *blob = nullptr
) const override;
/**
* @brief Calculates the right-hand side (dY/dt) and energy generation rate.
*
@@ -204,6 +216,7 @@ namespace gridfire::engine {
double rho
) const override;
/**
* @brief Calculates the derivatives of the energy generation rate with respect to temperature and density for a subset of reactions
*