コード例 #1
0
ファイル: Plant15.cs プロジェクト: wangyakai01/APSIMClassic
    private void Update()
    {
        foreach (Organ1 Organ in Organ1s)
        {
            Organ.Update();
        }

        // now update new canopy covers
        PlantSpatial.Density     = Population.Density;
        PlantSpatial.CanopyWidth = Stem.Width;

        foreach (Organ1 Organ in Organ1s)
        {
            Organ.DoCover();
        }

        // Update the plant stress observers
        SWStress.Update();
        NStress.Update();
        Population.Update();

        UpdateCanopy();

        foreach (Organ1 Organ in Organ1s)
        {
            Organ.DoNConccentrationLimits();
        }

        // PUBLISH BiomassRemoved event
        DoBiomassRemoved();
    }