@@ -48,7 +48,11 @@ subroutine allocate_parms
48
48
49
49
50
50
use parm
51
-
51
+
52
+ allocate (alph_e(mhru))
53
+ allocate (co_p(mhru))
54
+
55
+
52
56
!! initialize variables
53
57
mvaro = 33
54
58
mhruo = 78
@@ -331,7 +335,7 @@ subroutine allocate_parms
331
335
allocate (icolr(mrcho))
332
336
! allocate (ipdvar(mrcho))
333
337
!! increased ipdvar(42 ) to 45 to add Total N/ Total P/ NO3conc(mg/ l)
334
- allocate (ipdvar(45 ))
338
+ allocate (ipdvar(46 ))
335
339
allocate (rchaao(mrcho,mxsubch))
336
340
allocate (rchdy(mrcho,mxsubch))
337
341
allocate (rchmono(mrcho,mxsubch))
@@ -635,6 +639,12 @@ subroutine allocate_parms
635
639
allocate (seccir(mres))
636
640
allocate (sed_stlr(mres))
637
641
allocate (starg_fps(mres))
642
+ allocate (weirc(mres))
643
+ allocate (weirk(mres))
644
+ allocate (weirw(mres))
645
+ allocate (acoef(mres))
646
+ allocate (bcoef(mres))
647
+ allocate (ccoef(mres))
638
648
allocate (wurtnf(mres))
639
649
allocate (lkpst_mass(mres))
640
650
allocate (lkspst_mass(mres))
@@ -1162,6 +1172,10 @@ subroutine allocate_parms
1162
1172
allocate (pot_cla(mhru))
1163
1173
allocate (pot_sag(mhru))
1164
1174
allocate (pot_lag(mhru))
1175
+ allocate (n_reduc(mhru))
1176
+ allocate (n_lag(mhru))
1177
+ allocate (n_ln(mhru))
1178
+ allocate (n_lnco(mhru))
1165
1179
1166
1180
allocate (pot_tile(mhru))
1167
1181
allocate (pot_vol(mhru))
@@ -1454,6 +1468,8 @@ subroutine allocate_parms
1454
1468
1455
1469
!! arrays
1456
1470
allocate (ndays(13 ))
1471
+ allocate (ndays_leap(13 ))
1472
+ allocate (ndays_noleap(13 ))
1457
1473
allocate (idg(9 ))
1458
1474
allocate (ndmo(12 ))
1459
1475
! allocate (halgae(24 ))
@@ -1557,8 +1573,10 @@ subroutine allocate_parms
1557
1573
allocate (snam(mhru),hydgrp(mhru),kirr(mhru))
1558
1574
allocate (dratio(msub),init_abstrc(mhru))
1559
1575
allocate (sub_subp_dt(msub,nstep),sub_hhsedy(msub,nstep))
1560
- allocate (sub_atmp(msub,nstep))
1576
+ allocate (sub_atmp(msub,nstep),bmp_recharge(msub) )
1561
1577
allocate (rchhr(mrcho,mch,nstep),hrtevp(nstep),hrttlc(nstep))
1578
+ allocate (hhresflwi(nstep), hhresflwo(nstep),hhressedi(nstep),
1579
+ & hhressedo(nstep))
1562
1580
!! Arrays for bmp simulation by jaehak jeong
1563
1581
allocate (lu_nodrain(30 ),bmpdrain(mhru))
1564
1582
allocate (subdr_km(mhyd),subdr_ickm(mhyd),sub_cn2(msub))
@@ -1593,15 +1611,16 @@ subroutine allocate_parms
1593
1611
& dtp_stagdis(mhyd),dtp_reltype(mhyd),dtp_onoff(mhyd))
1594
1612
1595
1613
allocate(dtp_evrsv(msub),
1596
- & dtp_inflvol(msub),dtp_totwrwid(msub),dtp_parm (msub),
1614
+ & dtp_inflvol(msub),dtp_totwrwid(msub),dtp_lwratio (msub),
1597
1615
& dtp_wdep(msub),dtp_totdep(msub),dtp_watdepact(msub),
1598
1616
& dtp_outflow(msub),dtp_totrel(msub),dtp_backoff(msub),
1599
1617
& dtp_seep_sa(msub),dtp_evap_sa(msub),dtp_pet_day(msub),
1600
1618
& dtp_pcpvol(msub),dtp_seepvol(msub),dtp_evapvol(msub),
1601
1619
& dtp_flowin(msub),dtp_backup_length(msub),dtp_intcept(msub),
1602
1620
& dtp_expont(msub),dtp_coef1(msub),dtp_coef2(msub),
1603
- & dtp_coef3(msub),dtp_ivol(msub),dtp_ised(msub))
1604
-
1621
+ & dtp_coef3(msub),dtp_dummy1(msub),dtp_dummy2(msub),
1622
+ & dtp_dummy3(msub),dtp_ivol(msub),dtp_ised(msub))
1623
+
1605
1624
allocate(dtp_wdratio(msub,10 ),dtp_depweir(msub,10 ),
1606
1625
& dtp_diaweir(msub,10 ),dtp_retperd(msub,10 ),dtp_pcpret(msub,10 ),
1607
1626
& dtp_cdis(msub,10 ),dtp_flowrate(msub,10 ),
@@ -1764,4 +1783,4 @@ subroutine allocate_parms
1764
1783
call zero_urbn
1765
1784
1766
1785
return
1767
- end
1786
+ end
0 commit comments