Skip to content

carbon cycle not strictly closed #12

Description

@mattschy

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions