Changeset 1547 for trunk/LMDZ.MARS/libf/dynphy_lonlat/calfis.F
- Timestamp:
- May 2, 2016, 11:21:36 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/dynphy_lonlat/calfis.F
r1422 r1547 115 115 REAL ztfi(ngridmx,llm),zqfi(ngridmx,llm,nq) 116 116 c 117 REAL zvervel(ngridmx,llm) 117 ! REAL zvervel(ngridmx,llm) 118 REAL flxwfi(ngridmx,llm) ! vertical mass flux (kg/s) on physics grid 118 119 c 119 120 REAL zdufi(ngridmx,llm),zdvfi(ngridmx,llm) … … 331 332 c (dans la couche llm, on garde la valeur à la limite inférieure llm) 332 333 334 ! vertical mass flux 335 ! tranfer values from dynamics grid to physics grid: 336 CALL gr_dyn_fi(llm,iip1,jjp1,ngridmx,pw,flxwfi) 337 ! but mass flux is an extensive variable, so take the sum at the poles 338 DO l=1,llm 339 flxwfi(1,l)=sum(pw(1:iim,1,l)) 340 flxwfi(ngridmx,l)=sum(pw(1:iim,jjp1,l)) 341 ENDDO 342 333 343 c 45. champ u: 334 344 c ------------ 335 345 336 DO 50 l=1,llm 337 338 DO 25 j=2,jjm 346 DO l=1,llm 347 DO j=2,jjm 339 348 ig0 = 1+(j-2)*iim 340 349 zufi(ig0+1,l)= 0.5 * 341 350 $ ( pucov(iim,j,l)/cu(iim,j) + pucov(1,j,l)/cu(1,j) ) 342 DO 10i=2,iim351 DO i=2,iim 343 352 zufi(ig0+i,l)= 0.5 * 344 353 $ ( pucov(i-1,j,l)/cu(i-1,j) + pucov(i,j,l)/cu(i,j) ) 345 10 CONTINUE 346 25 CONTINUE 347 348 50 CONTINUE 354 ENDDO 355 ENDDO 356 ENDDO 349 357 350 358 … … 427 435 , zufi, zvfi,ztfi, zqfi, 428 436 ! , zvervel, 429 , pw,437 , flxwfi, 430 438 C - sorties 431 439 s zdufi, zdvfi, zdtfi, zdqfi,zdpsrf,tracer)
Note: See TracChangeset
for help on using the changeset viewer.