Changeset 1614 for LMDZ5/trunk/libf/dyn3d
- Timestamp:
- Feb 3, 2012, 11:07:08 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d/leapfrog.F
r1592 r1614 221 221 c ---------------------------------- 222 222 223 1 CONTINUE 223 1 CONTINUE ! Matsuno Forward step begins here 224 224 225 225 jD_cur = jD_ref + day_ini - day_ref + & … … 261 261 CALL filtreg ( finvmaold ,jjp1, llm, -2,2, .TRUE., 1 ) 262 262 263 2 CONTINUE 263 2 CONTINUE ! Matsuno backward or leapfrog step begins here 264 264 265 265 c----------------------------------------------------------------------- … … 304 304 c -------------------------------- 305 305 306 ! compute geopotential phi() 306 307 CALL geopot ( ip1jmp1, teta , pk , pks, phis , phi ) 307 308 … … 537 538 ENDDO 538 539 539 DO ij = 1,iim 540 tppn(ij) = aire( ij ) * ps ( ij ) 541 tpps(ij) = aire(ij+ip1jm) * ps (ij+ip1jm) 542 ENDDO 543 tpn = SSUM(iim,tppn,1)/apoln 544 tps = SSUM(iim,tpps,1)/apols 545 546 DO ij = 1, iip1 547 ps( ij ) = tpn 548 ps(ij+ip1jm) = tps 549 ENDDO 550 540 if (1 == 0) then 541 !!! Ehouarn: lines here 1) kill 1+1=2 in the dynamics 542 !!! 2) should probably not be here anyway 543 !!! but are kept for those who would want to revert to previous behaviour 544 DO ij = 1,iim 545 tppn(ij) = aire( ij ) * ps ( ij ) 546 tpps(ij) = aire(ij+ip1jm) * ps (ij+ip1jm) 547 ENDDO 548 tpn = SSUM(iim,tppn,1)/apoln 549 tps = SSUM(iim,tpps,1)/apols 550 551 DO ij = 1, iip1 552 ps( ij ) = tpn 553 ps(ij+ip1jm) = tps 554 ENDDO 555 endif ! of if (1 == 0) 551 556 552 557 END IF ! of IF(apdiss) … … 664 669 665 670 CLOSE(99) 671 !!! Ehouarn: Why not stop here and now? 666 672 ENDIF ! of IF (itau.EQ.itaufin) 667 673
Note: See TracChangeset
for help on using the changeset viewer.