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

The result of a reaction rate model evaluation. More...

#include <ReactionRate.hpp>

Public Member Functions

 ReactionRate ()
 Construct a default ReactionRate object.
 
template<typename T , Requires< isNumeric< T >> = true>
 ReactionRate (T const &value)
 Construct a ReactionRate object with given rate value.
 
auto value () const -> real const &
 Return the underlying real object in the ReactionRate object.
 
auto onEquationMode () const -> bool
 Return true if this ReactionRate object is in equation mode enabled by enforce.
 
 operator real const & () const
 Convert this ReactionRate object into a real object.
 
template<typename T , Requires< isNumeric< T >> = true>
auto operator= (T const &value) -> ReactionRate &
 Assign a value to this ReactionRate object.
 
template<typename T , Requires< isNumeric< T >> = true>
auto operator+= (T const &scalar) -> ReactionRate &
 
template<typename T , Requires< isNumeric< T >> = true>
auto operator-= (T const &scalar) -> ReactionRate &
 
template<typename T , Requires< isNumeric< T >> = true>
auto operator*= (T const &scalar) -> ReactionRate &
 
template<typename T , Requires< isNumeric< T >> = true>
auto operator/= (T const &scalar) -> ReactionRate &
 

Static Public Member Functions

static auto enforce (real const &value) -> ReactionRate
 Return a ReactionRate object that represents the residual of an enforced equation f(props) = 0 instead of a reaction rate.
 

Detailed Description

The result of a reaction rate model evaluation.


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