Exemplo n.º 1
0
    public override void OnPrepare()
    {
        Growth.Clear();
        Senescing.Clear();
        Detaching.Clear();
        Retranslocation.Clear();

        dlt_n_senesced_retrans = 0.0;
        dlt_n_senesced_trans   = 0.0;

        _DMGreenDemand = 0.0;
        _NDemand       = 0.0;
        _SoilNDemand   = 0.0;
        NMax           = 0.0;
        sw_demand      = 0.0; dltRootDepth = 0.0;
        Util.ZeroArray(dltRootLength);
        Util.ZeroArray(dltRootLengthSenesced);
        Util.ZeroArray(dltRootLengthDead);
        Util.ZeroArray(dlt_sw_dep);
        Util.ZeroArray(sw_avail);
        Util.ZeroArray(sw_avail_pot);
        Util.ZeroArray(sw_supply);
        Util.ZeroArray(dlt_no3gsm);
        Util.ZeroArray(dlt_nh4gsm);
        Util.ZeroArray(no3gsm_uptake_pot);
        Util.ZeroArray(nh4gsm_uptake_pot);
    }
Exemplo n.º 2
0
        /// <summary>Called when [prepare].</summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
        public override void OnPrepare(object sender, EventArgs e)
        {
            Growth.Clear();
            Senescing.Clear();
            Detaching.Clear();
            Retranslocation.Clear();
            GreenRemoved.Clear();
            SenescedRemoved.Clear();

            dlt_dm_pot_rue         = 0.0;
            dlt_n_senesced_retrans = 0.0;
            dlt_n_senesced_trans   = 0.0;
            dlt_height             = 0.0;
            dlt_width = 0.0;

            _DMGreenDemand = 0.0;
            _NDemand       = 0.0;
            _SoilNDemand   = 0.0;
            sw_demand      = 0.0;
        }
Exemplo n.º 3
0
    public override void OnPrepare()
    {
        Growth.Clear();
        Senescing.Clear();
        Detaching.Clear();
        Retranslocation.Clear();
        GreenRemoved.Clear();
        SenescedRemoved.Clear();

        dlt_dm_pot_rue         = 0.0;
        dlt_n_senesced_retrans = 0.0;
        dlt_n_senesced_trans   = 0.0;

        _DMGreenDemand = 0.0;
        _NDemand       = 0.0;
        _SoilNDemand   = 0.0;
        NMax           = 0.0;
        sw_demand_te   = 0.0;
        sw_demand      = 0.0;
    }
Exemplo n.º 4
0
    public override void OnPrepare()
    {
        if (LeafNo == null)
        {
            Initialise();
        }

        Growth.Clear();
        Senescing.Clear();
        Detaching.Clear();
        Retranslocation.Clear();
        GreenRemoved.Clear();
        SenescedRemoved.Clear();

        dlt_dm_pot_rue         = 0.0;
        dlt_n_senesced_retrans = 0.0;
        dlt_n_senesced_trans   = 0.0;
        dlt_height             = 0.0;
        dlt_width = 0.0;

        _NDemand         = 0.0;
        _SoilNDemand     = 0.0;
        NMax             = 0.0;
        sw_demand_te     = 0.0;
        sw_demand        = 0.0;
        dltLAI           = 0.0;
        dltSLAI          = 0.0;
        dltLAI_pot       = 0.0;
        dltLAI_stressed  = 0.0;
        dltLAI_carbon    = 0.0; // (PFR)
        dltSLAI_detached = 0.0;
        dltSLAI_age      = 0.0;
        dltSLAI_light    = 0.0;
        dltSLAI_water    = 0.0;
        dltSLAI_frost    = 0.0;
        dltLeafNo        = 0.0;
        //    g.dlt_node_no              = 0.0; JNGH - need to carry this through for site no next day.
        dltLeafNoPot = 0.0;
        dltNodeNoPot = 0.0;
    }