2.0.0b10
catchment modelling framework
|
Calculates a diffusive flux between solute storages. More...
Calculates a diffusive flux between solute storages.
\[ q = \alpha \cdot \left([A]_1 - [A]_2\right) V_2 \]
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. | |
virtual bool | is_compatible (const SoluteStorage &solute_storage) |
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 | alpha |
Diffusion rate in 1/day. | |
const SoluteStorage & | left |
SoluteStorages that are connected. | |