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

        object TypeIndependent.ICohort.this[CohortAttribute attribute]
        {
            get {
                if (attribute == AgeAttribute)
                    return age;
                return null;
            }
        }
        //---------------------------------------------------------------------

        object TypeIndependent.ICohort.this[CohortAttribute attribute]
        {
            get {
                if (attribute == AgeAttribute)
                    return data.Age;
                if (attribute == BiomassAttribute)
                    return data.Biomass;
                return null;
            }
        }