Inside this loop over pfts
|
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; |
it is looped over pfts again in seedingCrowdingMortality, where successfullGerminatedSeeds of pfts is used for which it was not calculated yet.
Inside this loop over pfts
uc-grassland-model/src/module_recruitment/recruitment.cpp
Lines 162 to 175 in a7ef09a
it is looped over pfts again in
seedingCrowdingMortality, wheresuccessfullGerminatedSeedsof pfts is used for which it was not calculated yet.