@@ -1173,6 +1173,9 @@ subroutine allocate_parms
1173
1173
allocate (pnd_cla(mhru))
1174
1174
allocate (pnd_sag(mhru))
1175
1175
allocate (pnd_lag(mhru))
1176
+
1177
+ allocate (twlpnd(mhru)) !!srini pond/ wet infiltration to shallow gw storage
1178
+ allocate (twlwet(mhru)) !!srini pond/ wet infiltration to shallow gw storage
1176
1179
1177
1180
allocate (pnd_solp(mhru))
1178
1181
allocate (pnd_solpg(mhru))
@@ -1740,8 +1743,8 @@ subroutine allocate_parms
1740
1743
!! LID simulations
1741
1744
!! Common variable
1742
1745
!! van Genuchten equation' s coefficients
1743
- allocate(lid_vgcl,lid_vgcm,lid_qsurf_total,
1744
- & lid_farea_sum)
1746
+ ! allocate(lid_vgcl,lid_vgcm,lid_qsurf_total,
1747
+ ! & lid_farea_sum)
1745
1748
allocate(lid_cuminf_last(mhru,4),lid_sw_last(mhru,4),
1746
1749
& interval_last(mhru,4),lid_f_last(mhru,4),lid_cumr_last(mhru,4),
1747
1750
& lid_str_last(mhru,4),lid_farea(mhru,4),lid_qsurf(mhru,4),
@@ -1881,6 +1884,10 @@ subroutine allocate_parms
1881
1884
tillage_factor = 0.
1882
1885
!! By Zhang for C/N cycling
1883
1886
!! ============================
1887
+
1888
+ !FLOOD ROUTING
1889
+ allocate(QHY(nstep+1,mhyd,4), NHY(4*msub))
1890
+ allocate(RCHX(msub),RCSS(msub),QCAP(msub),CHXA(msub),CHXP(msub))
1884
1891
1885
1892
call zero0
1886
1893
call zero1
0 commit comments