1 |
module cv3_mixing_m |
module cv30_mixing_m |
2 |
|
|
3 |
implicit none |
implicit none |
4 |
|
|
5 |
contains |
contains |
6 |
|
|
7 |
SUBROUTINE cv3_mixing(nloc, ncum, nd, na, icb, nk, inb, t, rr, rs, u, v, h, & |
SUBROUTINE cv30_mixing(nloc, ncum, nd, na, icb, nk, inb, t, rr, rs, u, v, h, & |
8 |
lv, hp, ep, clw, m, sig, ment, qent, uent, vent, nent, sij, elij, & |
lv, hp, ep, clw, m, sig, ment, qent, uent, vent, nent, sij, elij, & |
9 |
ments, qents) |
ments, qents) |
10 |
use cv3_param_m |
use cv30_param_m |
11 |
use cvthermo |
use cvthermo |
12 |
|
|
13 |
!--------------------------------------------------------------------- |
!--------------------------------------------------------------------- |
49 |
do j=1, nl |
do j=1, nl |
50 |
do i=1, ncum |
do i=1, ncum |
51 |
nent(i, j)=0 |
nent(i, j)=0 |
52 |
! in convect3, m is computed in cv3_closure |
! in convect3, m is computed in cv30_closure |
53 |
! ori m(i, 1)=0.0 |
! ori m(i, 1)=0.0 |
54 |
end do |
end do |
55 |
end do |
end do |
142 |
! --- NORMALIZE ENTRAINED AIR MASS FLUXES |
! --- NORMALIZE ENTRAINED AIR MASS FLUXES |
143 |
! --- TO REPRESENT EQUAL PROBABILITIES OF MIXING |
! --- TO REPRESENT EQUAL PROBABILITIES OF MIXING |
144 |
|
|
145 |
call zilch(asum, nloc*nd) |
asum = 0. |
146 |
call zilch(csum, nloc*nd) |
csum = 0. |
|
call zilch(csum, nloc*nd) |
|
147 |
|
|
148 |
do il=1, ncum |
do il=1, ncum |
149 |
lwork(il) = .FALSE. |
lwork(il) = .FALSE. |
315 |
enddo |
enddo |
316 |
enddo |
enddo |
317 |
|
|
318 |
end SUBROUTINE cv3_mixing |
end SUBROUTINE cv30_mixing |
319 |
|
|
320 |
end module cv3_mixing_m |
end module cv30_mixing_m |