Skip to content

Commit

Permalink
add back the getnumberofreactions function
Browse files Browse the repository at this point in the history
  • Loading branch information
sjsprecious committed Sep 19, 2024
1 parent c4b5479 commit 84e7981
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/micm/solver/solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ namespace micm
return state_parameters_.number_of_species_;
}

std::size_t GetNumberOfReactions() const
{
return state_parameters_.number_of_rate_constants_;
}

StatePolicy GetState() const
{
auto state = std::move(StatePolicy(state_parameters_));
Expand Down

0 comments on commit 84e7981

Please sign in to comment.