2.0.0b10
catchment modelling framework
Loading...
Searching...
No Matches
SoluteReaction Class Referenceabstract

Abstract class for a solute reaction. More...

+ Inheritance diagram for SoluteReaction:

Detailed Description

Abstract class for a solute reaction.

Can be derived with python.

Public Member Functions

virtual real get_flux (const SoluteStorage &solute_storage, const cmf::math::Time &t) const =0
 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.