carbon cycle not strictly closed
|
numberOfSeeds = (int)floor((community.allPlants[cohortIndex]->amount * community.allPlants[cohortIndex]->recruitmentBiomass / parameter.seedMasses[pft]) + 0.5); |
|
if (parameter.seedsFromMaturePlantsActivated) |
|
{ |
|
incomingSeeds[pft] += numberOfSeeds; |
|
outgoingSeeds[pft] += 0; |
|
} |
|
else |
|
{ |
|
incomingSeeds[pft] += 0; |
|
outgoingSeeds[pft] += numberOfSeeds; |
|
} |
|
community.allPlants[cohortIndex]->recruitmentBiomass = 0; |
|
community.allPlants[cohortIndex]->recruitmentCarbon = 0; |
|
community.allPlants[cohortIndex]->recruitmentNitrogen = 0; |
carbon cycle not strictly closed
uc-grassland-model/src/module_recruitment/recruitment.cpp
Lines 162 to 175 in a7ef09a