You're reading the documentation for a development version. For the latest stable documentation, please have a look at v5.1.X.
Exchange models#
An exchange model describes the mass transfer between the channels of the multichannel transport model.
Every exchange model implements cadet::model::IExchangeModel.
Interface#
-
class IExchangeModel#
[source] Subclassed by cadet::model::LangumirExchangeBase, cadet::model::LinearExchangeBase
Public Functions
-
virtual bool configureModelDiscretization(IParameterProvider ¶mProvider, unsigned int nComp, unsigned int nChannel, unsigned int nCol) = 0#
[source]
-
virtual bool configure(IParameterProvider ¶mProvider, UnitOpIdx unitOpIdx, std::unordered_map<ParameterId, active*> ¶meters) = 0#
[source]
-
virtual int residual(active const *y, active *res, WithParamSensitivity, bool wantJac, linalg::BandedSparseRowIterator jacBegin) const = 0#
[source]
-
virtual int residual(active const *y, active *res, WithoutParamSensitivity, bool wantJac, linalg::BandedSparseRowIterator jacBegin) const = 0#
[source]
-
virtual bool configureModelDiscretization(IParameterProvider ¶mProvider, unsigned int nComp, unsigned int nChannel, unsigned int nCol) = 0#