Reaction.hpp
The class that computes chemical properties of a chemical system.
Definition: ChemicalProps.hpp:34
A type used to represent the equation of a reaction.
Definition: ReactionEquation.hpp:37
auto withEquation(ReactionEquation const &equation) const -> Reaction
Return a duplicate of this Reaction object with new reaction equation.
auto withName(String name) const -> Reaction
Return a duplicate of this Reaction object with new reaction name.
auto equation() const -> ReactionEquation const &
Return the equation of the reaction.
auto withRateModel(ReactionRateModel const &model) const -> Reaction
Return a duplicate of this Reaction object with new reaction rate model.
auto props(real T, real P) const -> ReactionThermoProps
Calculate the complete set of thermodynamic properties of the reaction.
auto rate(ChemicalProps const &props) const -> real
Calculate the rate of the reaction for given chemical properties of the system (in mol/s).
auto rateModel() const -> ReactionRateModel const &
Return the rate model of the reaction.
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
autodiff::real real
The number type used throughout the library.
Definition: Real.hpp:26
std::shared_ptr< T > SharedPtr
Convenient alias for std::shared_ptr<T>.
Definition: Types.hpp:106
The complete set of standard thermodynamic properties of a chemical reaction.
Definition: ReactionThermoProps.hpp:30