//---------------------------------------------------------------------

        public ushort Damage(ICohort cohort)
        {
            if (ageCohortDisturbance.Damage(cohort))
            {
                return(cohort.Biomass);
            }
            else
            {
                return(0);
            }
        }
Beispiel #2
0
        //---------------------------------------------------------------------

        public ushort Damage(ICohort cohort)
        {
            if (ageCohortDisturbance.Damage(cohort))
            {
                Cohort.KilledByAgeOnlyDisturbance(this, cohort,
                                                  ageCohortDisturbance.CurrentSite,
                                                  ageCohortDisturbance.Type);
                return(cohort.Biomass);
            }
            else
            {
                return(0);
            }
        }