示例#1
0
 /// <summary>
 /// Adds some biomass for a species to the WOOD litter pools at a site.
 /// </summary>
 public static void AddWoodLitter(double woodBiomass,
                                  ISpecies species,
                                  ActiveSite site)
 {
     if (woodBiomass > 0)
     {
         WoodLayer.PartitionResidue(woodBiomass,
                                    FunctionalType.Table[SpeciesData.FuncType[species]].WoodDecayRate,
                                    SpeciesData.WoodCN[species],
                                    SpeciesData.WoodLignin[species],
                                    LayerName.Wood,
                                    LayerType.Surface,
                                    site);
     }
 }
示例#2
0
        //---------------------------------------------------------------------

        /// <summary>
        /// Kills coarse roots and add the biomass to the Wood Debris pool.
        /// </summary>
        public static void AddCoarseRootLitter(double abovegroundWoodBiomass, ICohort cohort,
                                               ISpecies species,
                                               ActiveSite site)
        {
            double coarseRootBiomass = CalculateCoarseRoot(cohort, abovegroundWoodBiomass); // Ratio above to below

            if (coarseRootBiomass > 0)
            {
                WoodLayer.PartitionResidue(coarseRootBiomass,
                                           FunctionalType.Table[SpeciesData.FuncType[species]].WoodDecayRate,
                                           SpeciesData.CoarseRootCN[species],
                                           SpeciesData.CoarseRootLignin[species],
                                           LayerName.CoarseRoot,
                                           LayerType.Soil,
                                           site);
            }
        }