Changeset 114 in lmdz_wrf
- Timestamp:
- Jul 25, 2014, 6:15:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LMDZ_WRFmeas/WRFV3/lmdz/thermcell_plume.F90
r113 r114 666 666 do ig=1,ngrid 667 667 if (ztv(ig,l)> ztv(ig,l+1) .and. ztv(ig,1)>=ztv(ig,l) ) then 668 alim_star(ig,l)=MAX((ztv(ig,l)-ztv(ig,l+1)),0.) & 668 ! L. Fita, LMD July 2014. Adding IF for zlev == 0. 669 IF ( zlev(ig,l+1) < 0.) THEN 670 alim_star(ig,l) == 0. 671 ELSE 672 alim_star(ig,l)=MAX((ztv(ig,l)-ztv(ig,l+1)),0.) & 669 673 & *sqrt(zlev(ig,l+1)) 670 lalim(ig)=l+1 674 lalim(ig)=l+1 675 END IF 671 676 alim_star_tot(ig)=alim_star_tot(ig)+alim_star(ig,l) 672 677 IF (zlev(ig,l+1) < 0. .OR. alim_star_tot(ig) == 0.) THEN
Note: See TracChangeset
for help on using the changeset viewer.