Skip to content

Commit

Permalink
Merge branch 'update_thompsonMP_20210213' of https://github.com/gthom…
Browse files Browse the repository at this point in the history
…psnWRF/ccpp-physics into update_thompsonMP_20210213_merged_into_gsl_develop
  • Loading branch information
climbfuji committed Mar 1, 2021
2 parents c6f1cab + 2a2d750 commit ca5ea32
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions physics/module_mp_thompson.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1261,8 +1261,8 @@ SUBROUTINE mp_gt_driver(qv, qc, qr, qi, qs, qg, ni, nr, nc, &
else
do k = kts, kte
nc1d(k) = Nt_c/rho(k)
nwfa1d(k) = 11.1E6/rho(k)
nifa1d(k) = naIN1*0.01/rho(k)
nwfa1d(k) = 11.1E6
nifa1d(k) = naIN1*0.01
enddo
endif

Expand Down Expand Up @@ -1785,8 +1785,8 @@ subroutine mp_thompson (qv1d, qc1d, qi1d, qr1d, qs1d, qg1d, ni1d, &
qv(k) = MAX(1.E-10, qv1d(k))
pres(k) = p1d(k)
rho(k) = 0.622*pres(k)/(R*temp(k)*(qv(k)+0.622))
nwfa(k) = MAX(11.1E6, MIN(9999.E6, nwfa1d(k)*rho(k)))
nifa(k) = MAX(naIN1*0.01, MIN(9999.E6, nifa1d(k)*rho(k)))
nwfa(k) = MAX(11.1E6*rho(k), MIN(9999.E6*rho(k), nwfa1d(k)*rho(k)))
nifa(k) = MAX(naIN1*0.01*rho(k), MIN(9999.E6*rho(k), nifa1d(k)*rho(k)))
mvd_r(k) = D0r
mvd_c(k) = D0c

Expand Down Expand Up @@ -2987,7 +2987,7 @@ subroutine mp_thompson (qv1d, qc1d, qi1d, qr1d, qs1d, qg1d, ni1d, &
ocp(k) = 1./(Cp*(1.+0.887*qv(k)))
lvt2(k)=lvap(k)*lvap(k)*ocp(k)*oRv*otemp*otemp

nwfa(k) = MAX(11.1E6, (nwfa1d(k) + nwfaten(k)*DT)*rho(k))
nwfa(k) = MAX(11.1E6*rho(k), (nwfa1d(k) + nwfaten(k)*DT)*rho(k))
enddo

do k = kts, kte
Expand Down

0 comments on commit ca5ea32

Please sign in to comment.