Changeset 884 for trunk/LMDZ.MARS/libf
- Timestamp:
- Feb 15, 2013, 2:56:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/vdifc.F
r765 r884 279 279 c -------------------------------------------------------------------- 280 280 281 DO ilev=1,nlay282 DO ig=1,ngrid283 ztcond(ig,ilev)=284 & 1./(bcond-acond*log(.01*vmr_co2(ig,ilev)*pplay(ig,ilev)))285 if (pplay(ig,ilev).lt.1e-4) ztcond(ig,ilev)=0.0 !mars Monica286 ENDDO287 ENDDO288 289 ztcond(:,nlay+1)=ztcond(:,nlay)290 291 281 if (callcond) then 292 282 DO ilev=1,nlay 293 283 DO ig=1,ngrid 284 ztcond(ig,ilev)= 285 & 1./(bcond-acond*log(.01*vmr_co2(ig,ilev)*pplay(ig,ilev))) 286 if (pplay(ig,ilev).lt.1e-4) ztcond(ig,ilev)=0.0 !mars Monica 294 287 ! zhcond(ig,ilev) = 295 288 ! & (1./(bcond-acond*log(.0095*pplay(ig,ilev))))/ppopsk(ig,ilev) … … 297 290 END DO 298 291 END DO 292 ztcond(:,nlay+1)=ztcond(:,nlay) 299 293 else 300 call zerophys(ngrid*nlay,zhcond) 294 zhcond(:,:) = 0 295 ztcond(:,:) = 0 301 296 end if 302 297 … … 562 557 IF (.not.flag_LES) THEN 563 558 #endif 564 DO ig=1,ngrid 559 IF (callcond) THEN 560 DO ig=1,ngrid 565 561 DO l=1,nlay 566 562 if(zh(ig,l) .lt. zhcond(ig,l)) then … … 570 566 endif 571 567 ENDDO 572 5 continue 573 ENDDO 568 5 continue 569 ENDDO 570 ENDIF 574 571 575 572 #ifdef MESOSCALE
Note: See TracChangeset
for help on using the changeset viewer.