Changeset 2311 for LMDZ5/trunk/libf/phylmd/thermcell_flux2.F90
- Timestamp:
- Jun 25, 2015, 9:45:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/thermcell_flux2.F90
r1907 r2311 13 13 !--------------------------------------------------------------------------- 14 14 15 USE print_control_mod, ONLY: prt_level 15 16 IMPLICIT NONE 16 #include "iniprint.h"17 17 #include "thermcell.h" 18 18 … … 50 50 save fomass_max,alphamax 51 51 52 logical check_debug,labort_ gcm52 logical check_debug,labort_physic 53 53 54 54 character (len=20) :: modname='thermcell_flux2' … … 108 108 print*,'detr_star(ig,l)',detr_star(ig,l) 109 109 abort_message = '' 110 labort_ gcm=.true.111 CALL abort_ gcm(modname,abort_message,1)110 labort_physic=.true. 111 CALL abort_physic (modname,abort_message,1) 112 112 endif 113 113 endif … … 270 270 271 271 272 labort_ gcm=.false.272 labort_physic=.false. 273 273 do ig=1,ngrid 274 274 if (entr(ig,l)<0.) then 275 labort_ gcm=.true.275 labort_physic=.true. 276 276 igout=ig 277 277 lout=l … … 279 279 enddo 280 280 281 if (labort_ gcm) then281 if (labort_physic) then 282 282 print*,'N1 ig,l,entr',igout,lout,entr(igout,lout) 283 283 abort_message = 'entr negatif' 284 CALL abort_ gcm(modname,abort_message,1)284 CALL abort_physic (modname,abort_message,1) 285 285 endif 286 286 … … 310 310 enddo 311 311 312 labort_ gcm=.false.312 labort_physic=.false. 313 313 do ig=1,ngrid 314 314 if (entr(ig,l).lt.0.) then 315 labort_ gcm=.true.315 labort_physic=.true. 316 316 igout=ig 317 317 endif 318 318 enddo 319 if (labort_ gcm) then319 if (labort_physic) then 320 320 ig=igout 321 321 print*,'ig,l,lmax(ig)',ig,l,lmax(ig) … … 323 323 print*,'fm(ig,l)',fm(ig,l) 324 324 abort_message = 'probleme dans thermcell flux' 325 CALL abort_ gcm(modname,abort_message,1)325 CALL abort_physic (modname,abort_message,1) 326 326 endif 327 327 … … 348 348 enddo 349 349 350 labort_ gcm=.false.350 labort_physic=.false. 351 351 do ig=1,ngrid 352 352 if (detr(ig,l).lt.0.) then 353 labort_ gcm=.true.353 labort_physic=.true. 354 354 igout=ig 355 355 endif 356 356 enddo 357 if (labort_ gcm) then357 if (labort_physic) then 358 358 ig=igout 359 359 print*,'cas 2 : ig,l,lmax(ig)',ig,l,lmax(ig) … … 361 361 print*,'fm(ig,l)',fm(ig,l) 362 362 abort_message = 'probleme dans thermcell flux' 363 CALL abort_ gcm(modname,abort_message,1)363 CALL abort_physic (modname,abort_message,1) 364 364 endif 365 365 ! enddo … … 427 427 428 428 if (1.eq.1) then 429 labort_ gcm=.false.429 labort_physic=.false. 430 430 do l=1,klev-1 431 431 do ig=1,ngrid … … 450 450 igout=ig 451 451 lout=l 452 labort_ gcm=.true.452 labort_physic=.true. 453 453 endif 454 454 entr(ig,l+1)=entr(ig,l+1)-ddd … … 461 461 enddo 462 462 enddo 463 if (labort_ gcm) then463 if (labort_physic) then 464 464 ig=igout 465 465 l=lout … … 479 479 print*,'fm(ig,l)',fm(ig,l) 480 480 abort_message = 'probleme dans thermcell_flux' 481 CALL abort_ gcm(modname,abort_message,1)481 CALL abort_physic (modname,abort_message,1) 482 482 endif 483 483 endif
Note: See TracChangeset
for help on using the changeset viewer.