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

A type used store a collection of dissociation reactions. More...

#include <DissociationReactions.hpp>

Public Member Functions

 DissociationReactions (const DissociationReactions &)=delete
 Construct a copy of a DissociationReactions object [deleted].
 
auto operator= (const DissociationReactions &) -> DissociationReactions &=delete
 Assign a DissociationReactions object to this [deleted].
 
auto begin () const
 Return begin const iterator of this DissociationReactions instance.
 
auto begin ()
 Return begin iterator of this DissociationReactions instance.
 
auto end () const
 Return end const iterator of this DissociationReactions instance.
 
auto end ()
 Return end iterator of this DissociationReactions instance.
 

Static Public Member Functions

static auto instance () -> DissociationReactions &
 Return the single DissociationReactions object.
 
static auto reactions () -> const Deque< DissociationReaction > &
 Return the dissociation reactions in the database.
 
static auto reset () -> void
 Reset the DissociationReactions object to its default state.
 
static auto append (DissociationReaction reaction) -> void
 Append a dissociation reaction in to the database.
 
static auto size () -> std::size_t
 Return the number of dissociation reactions in the database.
 
static auto get (const ChemicalFormula &complex) -> std::optional< DissociationReaction >
 Return the dissociation reaction of the substance with given chemical formula.
 
static auto coefficient (const ChemicalFormula &complex, const ChemicalFormula &ion) -> double
 Return the stoichiometric coefficient of an ion in a complex substance.
 

Detailed Description

A type used store a collection of dissociation reactions.


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