25 std::vector<std::unique_ptr<ChemicalReaction>> chemical_reactions;
28 auto const& reaction_config :
32 auto const stoichiometric_vector =
34 reaction_config.getConfigParameter<std::vector<double>>(
35 "stoichiometric_coefficients");
37 auto const reaction_type =
39 reaction_config.getConfigParameter<std::string>(
"reaction_type");
40 if (boost::iequals(reaction_type,
"FirstOrderReaction"))
42 chemical_reactions.emplace_back(std::make_unique<
44 stoichiometric_vector,
46 reaction_config.getConfigParameter<
double>(
47 "first_order_rate_constant")));
51 return chemical_reactions;