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