#include <peatlandturnovermodulebase.h>
◆ PeatlandTurnoverModuleBase()
◆ ~PeatlandTurnoverModuleBase()
◆ computeCarbonTransfers()
| double computeCarbonTransfers |
( |
double |
previousAwtd, |
|
|
double |
currentAwtd, |
|
|
double |
a, |
|
|
double |
b |
|
) |
| |
|
protected |
Return the carbon transfer amount
Computer pow(fabs(previousAwtd), b) and pow(fabs(currentAwtd), b) where fabs refers to the absolute value floating point value and pow refers to the power function.
Return value of 10.0 * fabs(a * (pow(fabs(previousAwtd), b) - pow(fabs(currentAwtd), b)))
- Parameters
-
| previousAwtd | double |
| currentAwtd | double |
| a | double |
| b | double |
- Returns
- double
◆ computeWaterTableDepth()
| double computeWaterTableDepth |
( |
double |
dc, |
|
|
int |
peatlandID |
|
) |
| |
|
protected |
◆ configure()
| void configure |
( |
const DynamicObject & |
config | ) |
|
|
override |
Configuration function
- Parameters
-
| config | const DynamicObject& |
- Returns
- void
◆ doLivePoolTurnover()
| void doLivePoolTurnover |
( |
| ) |
|
|
protected |
◆ subscribe()
| void subscribe |
( |
NotificationCenter & |
notificationCenter | ) |
|
|
override |
Subscribe to the signals LocalDomainInit, TimingInit and TimingStep
- Parameters
-
| notificationCenter | NotificationCenter& |
- Returns
- void
◆ updatePeatlandLivePoolValue()
| void updatePeatlandLivePoolValue |
( |
| ) |
|
|
protected |
Set PeatlandTurnoverModuleBase.woodyFoliageLive, PeatlandTurnoverModuleBase.woodyStemsBranchesLive, PeatlandTurnoverModuleBase.woodyRootsLive, PeatlandTurnoverModuleBase.sedgeFoliageLive, PeatlandTurnoverModuleBase.sedgeRootsLive, PeatlandTurnoverModuleBase.featherMossLive, PeatlandTurnoverModuleBase.sphagnumMossLive to the values of PeatlandTurnoverModuleBase._woodyFoliageLive, PeatlandTurnoverModuleBase._woodyStemsBranchesLive, PeatlandTurnoverModuleBase._woodyRootsLive, PeatlandTurnoverModuleBase._sedgeFoliageLive, PeatlandTurnoverModuleBase._sedgeRootsLive, PeatlandTurnoverModuleBase._featherMossLive and PeatlandTurnoverModuleBase._sphagnumMossLive
- Returns
- void
◆ _acrotelm_a
| const flint::IPool* _acrotelm_a = nullptr |
|
protected |
◆ _acrotelm_o
| const flint::IPool* _acrotelm_o = nullptr |
|
protected |
◆ _atmosphere
| const flint::IPool* _atmosphere = nullptr |
|
protected |
◆ _catotelm_a
| const flint::IPool* _catotelm_a = nullptr |
|
protected |
◆ _catotelm_o
| const flint::IPool* _catotelm_o = nullptr |
|
protected |
◆ _feathermossDead
| const flint::IPool* _feathermossDead = nullptr |
|
protected |
◆ _featherMossLive
| const flint::IPool* _featherMossLive = nullptr |
|
protected |
◆ _peatlandId
◆ _regenDelay
| flint::IVariable* _regenDelay = nullptr |
|
protected |
◆ _runPeatland
| bool _runPeatland { false } |
|
protected |
◆ _sedgeFoliageDead
| const flint::IPool* _sedgeFoliageDead = nullptr |
|
protected |
◆ _sedgeFoliageLive
| const flint::IPool* _sedgeFoliageLive = nullptr |
|
protected |
◆ _sedgeRootsDead
| const flint::IPool* _sedgeRootsDead = nullptr |
|
protected |
◆ _sedgeRootsLive
| const flint::IPool* _sedgeRootsLive = nullptr |
|
protected |
◆ _shrubAge
| flint::IVariable* _shrubAge = nullptr |
|
protected |
Peatland shrub age variable, which may be very old /summary>
◆ _sphagnumMossLive
| const flint::IPool* _sphagnumMossLive = nullptr |
|
protected |
◆ _woodyCoarseDead
| const flint::IPool* _woodyCoarseDead = nullptr |
|
protected |
◆ _woodyFineDead
| const flint::IPool* _woodyFineDead = nullptr |
|
protected |
◆ _woodyFoliageDead
| const flint::IPool* _woodyFoliageDead = nullptr |
|
protected |
◆ _woodyFoliageLive
| const flint::IPool* _woodyFoliageLive = nullptr |
|
protected |
◆ _woodyRootsDead
| const flint::IPool* _woodyRootsDead = nullptr |
|
protected |
◆ _woodyRootsLive
| const flint::IPool* _woodyRootsLive = nullptr |
|
protected |
◆ _woodyStemsBranchesLive
| const flint::IPool* _woodyStemsBranchesLive = nullptr |
|
protected |
◆ baseWTDParameters
| DynamicObject baseWTDParameters |
|
protected |
◆ featherMossLive
| double featherMossLive { 0 } |
|
protected |
◆ growthParas
Growth parameters associated to this peatland unit /summary>
◆ sedgeFoliageLive
| double sedgeFoliageLive { 0 } |
|
protected |
◆ sedgeRootsLive
| double sedgeRootsLive { 0 } |
|
protected |
◆ sphagnumMossLive
| double sphagnumMossLive { 0 } |
|
protected |
◆ turnoverParas
Turnover parameters associated to this peatland unit /summary>
◆ woodyFoliageLive
| double woodyFoliageLive { 0 } |
|
protected |
◆ woodyRootsLive
| double woodyRootsLive { 0 } |
|
protected |
◆ woodyStemsBranchesLive
| double woodyStemsBranchesLive { 0 } |
|
protected |
The documentation for this class was generated from the following files: