Changeset 1614 for LMDZ5/trunk
- Timestamp:
- Feb 3, 2012, 11:07:08 AM (13 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 2 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 -
LMDZ5/trunk/libf/dyn3dpar/leapfrog_p.F
r1592 r1614 244 244 c et du parallelisme !! 245 245 246 1 CONTINUE 246 1 CONTINUE ! Matsuno Forward step begins here 247 247 248 248 jD_cur = jD_ref + day_ini - day_ref + & … … 331 331 cym call minmax(ijp1llm,q(:,:,3),zqmin,zqmax) 332 332 333 2 CONTINUE 333 2 CONTINUE ! Matsuno backward or leapfrog step begins here 334 334 335 335 c$OMP MASTER … … 559 559 call start_timer(timer_caldyn) 560 560 561 ! compute geopotential phi() 561 562 CALL geopot_p ( ip1jmp1, teta , pk , pks, phis , phi ) 562 563 … … 1193 1194 c$OMP END DO NOWAIT 1194 1195 1196 if (1 == 0) then 1197 !!! Ehouarn: lines here 1) kill 1+1=2 in the dynamics 1198 !!! 2) should probably not be here anyway 1199 !!! but are kept for those who would want to revert to previous behaviour 1195 1200 c$OMP MASTER 1196 1201 DO ij = 1,iim … … 1203 1208 ENDDO 1204 1209 c$OMP END MASTER 1205 endif 1210 endif ! of if (1 == 0) 1211 endif ! of of (pole_nord) 1206 1212 1207 1213 if (pole_sud) then … … 1219 1225 c$OMP END DO NOWAIT 1220 1226 1227 if (1 == 0) then 1228 !!! Ehouarn: lines here 1) kill 1+1=2 in the dynamics 1229 !!! 2) should probably not be here anyway 1230 !!! but are kept for those who would want to revert to previous behaviour 1221 1231 c$OMP MASTER 1222 1232 DO ij = 1,iim … … 1229 1239 ENDDO 1230 1240 c$OMP END MASTER 1231 endif 1241 endif ! of if (1 == 0) 1242 endif ! of if (pole_sud) 1232 1243 1233 1244
Note: See TracChangeset
for help on using the changeset viewer.