Reaktoro  v2.11.0
A unified framework for modeling chemically reactive systems
Reactions Class Reference

Used to represent a collection of reactions controlled kinetically. More...

#include <Reactions.hpp>

Public Member Functions

 Reactions ()
 Construct a Reactions object.
 
template<typename... ReactionConvertible>
 Reactions (ReactionConvertible const &... reactions)
 Construct a Reactions object with given Reaction, GeneralReaction, or ReactionGenerator objects. More...
 
template<typename T >
auto add (T const &item) -> void
 Add a reaction generator into the Reactions container.
 
auto convert (ReactionGeneratorArgs args) const -> Vec< Reaction >
 Convert this Reactions object into a vector of Reaction objects. More...
 

Detailed Description

Used to represent a collection of reactions controlled kinetically.

Constructor & Destructor Documentation

◆ Reactions()

Reactions ( ReactionConvertible const &...  reactions)
inlineexplicit

Construct a Reactions object with given Reaction, GeneralReaction, or ReactionGenerator objects.

Parameters
reactionsThe objects of type Reaction, GeneralReaction, or ReactionGenerator.

Member Function Documentation

◆ convert()

auto convert ( ReactionGeneratorArgs  args) const -> Vec< Reaction >

Convert this Reactions object into a vector of Reaction objects.

Parameters
argsThe data provided to each ReactionGenerator to construct the Reaction objects.

The documentation for this class was generated from the following file: