9 + ( ncol , nlm , taer , tcldi
10 +, tcldw , tgm , tray , waer
11 +, wcldi , wcldw , wray , asyaer
12 +, asycldi , asycldw , tccld1 , tcclr1
13 +, asycld , asyclr , fwcld , fwclr
50 integer (kind=int_kind),
intent(in)::
54 real (kind=dbl_kind),
intent(in),
dimension(ncol,nlm)::
71 real (kind=dbl_kind),
intent(out),
dimension(ncol,nlm)::
81 integer (kind=int_kind)::
85 real (kind=dbl_kind)::
86 & wwray,wwaer,wwcldi,wwcldw
93 tcclr1(i,l) = tgm(i,l) + tray(i,l) + taer(i,l)
94 tccld1(i,l) = tcclr1(i,l)+ tcldi(i,l) + tcldw(i,l)
96 wwray = wray(i,l)*tray(i,l)
97 wwaer = waer(i,l)*taer(i,l)
98 wwcldi = wcldi(i,l)*tcldi(i,l)
99 wwcldw = wcldw(i,l)*tcldw(i,l)
101 fwclr(i,l) = wwray+wwaer
102 fwcld(i,l) = fwclr(i,l)+wwcldi+wwcldw
104 if(fwclr(i,l).gt.1.e-10)
then
105 asyclr(i,l) = (asyaer(i,l)*wwaer)/fwclr(i,l)
110 if(fwcld(i,l).gt.1.e-10)
then
111 asycld(i,l) = (asyaer(i,l)*wwaer+asycldi(i,l)*wwcldi
112 + + asycldw(i,l)*wwcldw)