- Timestamp:
- Jul 24, 2024, 4:23:34 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dyn3d_common/pentes_ini.f90
r5116 r5117 58 58 INTEGER :: ismax,ismin,lati,latf 59 59 EXTERNAL SSUM, ismin,ismax 60 logical:: first60 LOGICAL :: first 61 61 save first 62 62 ! fin modif … … 72 72 limit = .TRUE. 73 73 pente_max=2 74 ! if (mode. eq.1.or.mode.eq.3) THEN75 ! if (mode. eq.1) THEN76 if(mode>=1) THEN74 ! if (mode.EQ.1.OR.mode.EQ.3) THEN 75 ! if (mode.EQ.1) THEN 76 IF (mode>=1) THEN 77 77 lati=2 78 78 latf=jjm … … 80 80 lati=1 81 81 latf=jjp1 82 endif82 ENDIF 83 83 84 84 qmin=0.4995 … … 110 110 ENDDO 111 111 112 endif112 ENDIF 113 113 ! Fin modif Fred 114 114 … … 245 245 sx(1,jjp1,l)=sx(iip1,jjp1,l) 246 246 enddo 247 endif248 249 if(mode==4) THEN247 ENDIF 248 249 IF (mode==4) THEN 250 250 do l=1,llm 251 251 do i=1,iip1 … … 256 256 enddo 257 257 enddo 258 endif258 ENDIF 259 259 CALL limx(s0,sx,sm,pente_max) 260 260 ! CALL minmaxq(zq,1.e33,-1.e33,'avant advx ') 261 261 CALL advx( limit,.5*dtvr,pbaru,sm,s0,sx,sy,sz,lati,latf) 262 262 ! CALL minmaxq(zq,1.e33,-1.e33,'avant advy ') 263 if(mode==4) THEN263 IF (mode==4) THEN 264 264 do l=1,llm 265 265 do i=1,iip1 … … 270 270 enddo 271 271 enddo 272 endif272 ENDIF 273 273 CALL limy(s0,sy,sm,pente_max) 274 274 CALL advy( limit,.5*dtvr,pbarv,sm,s0,sx,sy,sz ) … … 282 282 CALL limz(s0,sz,sm,pente_max) 283 283 CALL advz( limit,dtvr,w,sm,s0,sx,sy,sz ) 284 if(mode==4) THEN284 IF (mode==4) THEN 285 285 do l=1,llm 286 286 do i=1,iip1 … … 291 291 enddo 292 292 enddo 293 endif293 ENDIF 294 294 CALL limy(s0,sy,sm,pente_max) 295 295 CALL advy( limit,.5*dtvr,pbarv,sm,s0,sx,sy,sz ) … … 306 306 307 307 ! CALL minmaxq(zq,1.e33,-1.e33,'avant advx ') 308 if(mode==4) THEN308 IF (mode==4) THEN 309 309 do l=1,llm 310 310 do i=1,iip1 … … 315 315 enddo 316 316 enddo 317 endif317 ENDIF 318 318 CALL limx(s0,sx,sm,pente_max) 319 319 CALL advx( limit,.5*dtvr,pbaru,sm,s0,sx,sy,sz,lati,latf)
Note: See TracChangeset
for help on using the changeset viewer.