@@ -1329,7 +1329,7 @@ subroutine calc_plant_nitrogen_demand(this, bounds, num_soilp, filter_soilp, &
13291329 use pftconMod , only : ntmp_soybean, nirrig_tmp_soybean
13301330 use pftconMod , only : ntrp_soybean, nirrig_trp_soybean
13311331 use clm_varcon , only : secspday, dzsoi_decomp
1332- use clm_varctl , only : iulog, use_c13, use_c14
1332+ use clm_varctl , only : use_c13, use_c14
13331333 use clm_varctl , only : nscalar_opt, plant_ndemand_opt, substrate_term_opt, temp_scalar_opt
13341334 use clm_varpar , only : nlevdecomp
13351335 use clm_time_manager , only : get_step_size,get_curr_calday
@@ -1651,7 +1651,6 @@ subroutine calc_plant_nitrogen_demand(this, bounds, num_soilp, filter_soilp, &
16511651 ! of amount allocated to roots over course of the growing season
16521652
16531653 if (peaklai(p) == 1 ) then ! lai at maximum allowed
1654- write (iulog,* ) ' hit peaklai, allocation to leaf is set to small value'
16551654 arepr(p) = 0._r8
16561655 aleaf(p) = 1.e-5_r8
16571656 astem(p) = astem(p)
@@ -1690,8 +1689,7 @@ subroutine calc_plant_nitrogen_demand(this, bounds, num_soilp, filter_soilp, &
16901689 (huigrain(p)- huileaf(p))),1._r8 )** allconss(ivt(p)) )))
16911690 end if
16921691 ! If crops have hit peaklai, then set leaf allocation to small value
1693- if (peaklai(p) == 1 ) then
1694- write (iulog,* ) ' hit peaklai, allocation to leaf is set to small value'
1692+ if (peaklai(p) == 1 ) then
16951693 aleaf(p) = 1.e-5_r8
16961694 else if (aleafi(p) > aleaff(ivt(p))) then
16971695 fleaf = aleafi(p) * (exp (- bfact(ivt(p))) - &
@@ -1718,7 +1716,6 @@ subroutine calc_plant_nitrogen_demand(this, bounds, num_soilp, filter_soilp, &
17181716 ! small value
17191717 if (peaklai(p) == 1 ) then
17201718 aleaf(p) = 1.e-5_r8
1721- write (iulog,* ) ' hit peaklai, allocation to leaf is set to small value'
17221719 else if (aleafi3(p) > aleaff(ivt(p))) then
17231720 fleaf = fleafi(ivt(p)) * (exp (- bfact(ivt(p))) - &
17241721 exp (- bfact(ivt(p))* (hui(p)- huileaf(p))/ (huilfmat(p)- huileaf(p)))) / &
0 commit comments