2.0.0b10
catchment modelling framework
|
A solute reaction of 2nd order kinetics A + B -> C. More...
A solute reaction of 2nd order kinetics A + B -> C.
\[ A + B \rightarrow C \]
\[\frac{d[C]}{dt} = -\frac{d[A]}{dt} = -\frac{d[B]}{dt} = k [A] [B]\]
Where A and B are the educts and C is the product. For a 2nd order reaction of a single educt A just write:
Public Member Functions | |
Solute2ndOrderReaction (const solute &A, const solute &B, const solute &C, real k) | |
Creates a 2nd order kinetic reaction. | |
real | get_flux (const SoluteStorage &solute_storage, const cmf::math::Time &t) const override |
Calculates the reactive flux from / to the given solute storage at time t. | |
bool | is_compatible (const SoluteStorage &solute_storage) override |
Tests if the reaction is compatible to a solute storage. Returns true if not overwritten by a child class. | |
real | operator() (const SoluteStorage &solute_storage, const cmf::math::Time &t) const |
Calculates the reactive flux from / to the given solute storage at time t. | |
Public Attributes | |
solute | A |
Educt 1. | |
solute | B |
Educt 2. | |
solute | C |
Product. | |