2.0.0b10
catchment modelling framework
Loading...
Searching...
No Matches
Solute1stOrderReaction Class Reference

A solute reaction of 1st order kinetics (linear decline to product) A->B. More...

+ Inheritance diagram for Solute1stOrderReaction:
+ Collaboration diagram for Solute1stOrderReaction:

Detailed Description

A solute reaction of 1st order kinetics (linear decline to product) A->B.

\[ A \rightarrow B \]

\[\frac{d[B]}{dt} = -\frac{d[A]}{dt} = k [A]\]

Where A is the educt and B is the product.

Public Member Functions

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

real k
 The reaction rate in 1/day.