31SUBROUTINE grow(ispec, heightcl, lightcl, srvinhl, minhc, thiscell)
39 INTEGER,
INTENT(in) :: ispec, &
43 REAL,
INTENT(in) :: srvinhl
55 gr =
speccl(ispec)%hlgro(heightcl, lightcl)
58 if (heightcl == 0)
then
66 if (newlwhc == newuphc)
then
74 newuphc =
max(min(1 + newlwhc,
maxhc), minhc)
79 inhc1 = thiscell%sp(ispec)%numin(1)
80 thiscell%sp(ispec)%numin(heightcl) = thiscell%sp(ispec)%numin(heightcl) - srvinhl
81 thiscell%sp(ispec)%numin(newlwhc) = thiscell%sp(ispec)%numin(newlwhc) + (propbot*srvinhl)
82 thiscell%sp(ispec)%numin(newuphc) = thiscell%sp(ispec)%numin(newuphc) + ((1.0 - propbot)*srvinhl)
84 if (heightcl == 0)
then
85 delta = thiscell%sp(ispec)%numin(1) - inhc1
86 thiscell%sp(ispec)%ingrowth = thiscell%sp(ispec)%ingrowth + delta
89 if (thiscell%sp(ispec)%numin(heightcl) < 0)
then
90 thiscell%sp(ispec)%numin(heightcl) = 0.0
subroutine grow(ispec, heightcl, lightcl, srvinhl, minhc, thiscell)
Grow.