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:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user