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

        public static void Initialize(ICore modelCore)
        {
            landUse      = modelCore.Landscape.NewSiteVar <LandUse>();
            allowHarvest = new AllowHarvestSiteVar();
            Model.Core.RegisterSiteVar(allowHarvest, "LandUse.AllowHarvest");
            Landis.Library.BiomassHarvest.SiteVars.CohortsPartiallyDamaged = modelCore.Landscape.NewSiteVar <int>();
        }
示例#2
0
        //private static AllowEstablishmentSitVar allowEstablishment;

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

        public static void Initialize(ICore modelCore)
        {
            landUse      = modelCore.Landscape.NewSiteVar <LandUse>();
            allowHarvest = new AllowHarvestSiteVar();
            Model.Core.RegisterSiteVar(allowHarvest, "LandUse.AllowHarvest");

            //allowEstablishment = new AllowEstablishmentSiteVar();
            //Model.Core.RegisterSiteVar(allowEstablishment, "LandUse.AllowEstablishment");
            //JSF - What does this do
            Landis.Library.DensityHarvest.SiteVars.CohortsPartiallyDamaged = modelCore.Landscape.NewSiteVar <int>();
            Landis.Library.BiomassHarvest.SiteVars.CohortsPartiallyDamaged = modelCore.Landscape.NewSiteVar <int>();
        }