ReactionEquation.hpp
86 inline auto begin(const Reaktoro::ReactionEquation& equation) -> decltype(equation.equation().begin())
98 inline auto end(const Reaktoro::ReactionEquation& equation) -> decltype(equation.equation().end())
auto begin(const Reaktoro::ReactionEquation &equation) -> decltype(equation.equation().begin())
Return begin const iterator of a ReactionEquation instance.
Definition: ReactionEquation.hpp:86
ReactionEquation()
Construct a default ReactionEquation instance.
Definition: ReactionEquation.cpp:29
auto equation() const -> const std::map< std::string, double > &
Return the reaction equation as a map of species names and stoichiometries.
Definition: ReactionEquation.cpp:119
auto end(const Reaktoro::ReactionEquation &equation) -> decltype(equation.equation().end())
Return end const iterator of a ReactionEquation instance.
Definition: ReactionEquation.hpp:98
Define a type that describes the equation of a reaction.
Definition: ReactionEquation.hpp:36
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
auto stoichiometry(std::string species) const -> double
Return the stoichiometry of a species in the reaction equation.
Definition: ReactionEquation.cpp:113
auto numSpecies() const -> unsigned
Return the number of species in the reaction equation.
Definition: ReactionEquation.cpp:108
auto empty() const -> bool
Return true if the rection equation is empty.
Definition: ReactionEquation.cpp:103