Changeset 2232 for trunk/LMDZ.GENERIC/libf/phystd/convadj.F
- Timestamp:
- Jan 30, 2020, 10:36:35 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/convadj.F
r2127 r2232 3 3 & pu,pv,ph,pq, 4 4 & pdufi,pdvfi,pdhfi,pdqfi, 5 & pduadj,pdvadj,pdhadj, 6 & pdqadj,lmax) 5 & pduadj,pdvadj,pdhadj,pdqadj) 7 6 8 7 USE tracer_h … … 41 40 REAL pu(ngrid,nlay),pdufi(ngrid,nlay),pduadj(ngrid,nlay) 42 41 REAL pv(ngrid,nlay),pdvfi(ngrid,nlay),pdvadj(ngrid,nlay) 43 INTEGER lmax(ngrid)44 42 45 43 ! Tracers … … 157 155 DO l=2,nlay 158 156 DO ig=1,ngrid 159 IF (zhc(ig,l).LT.zhc(ig,l-1) .and.(l.GT.lmax(ig))) THEN157 IF (zhc(ig,l).LT.zhc(ig,l-1)) THEN 160 158 vtest(ig)=.true. 161 159 ENDIF … … 197 195 l2 = l2 + 1 198 196 IF (l2 .GT. nlay) EXIT 199 IF ( (zhc(i, l2).LT.zhc(i, l2-1)).and.(l2.GT.lmax(i))) THEN197 IF (zhc(i, l2).LT.zhc(i, l2-1)) THEN 200 198 201 199 ! l2 is the highest level of the unstable column … … 226 224 down = .false. 227 225 IF (l1 .ne. 1) then !-- and then 228 IF ( (zhmc.LT.zhc(i, l1-1)).and.(l1.GT.lmax(i))) then226 IF (zhmc.LT.zhc(i, l1-1)) then 229 227 down = .true. 230 228 END IF
Note: See TracChangeset
for help on using the changeset viewer.