- Timestamp:
- Jul 23, 2024, 3:29:36 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/lmdz_thermcell_flux2.F90
r5101 r5103 86 86 ! Verification de la nullite des entrainement et detrainement au dessus 87 87 ! de lmax(ig) 88 ! Active uniquement si check_debug=. true. ou prt_level>=1088 ! Active uniquement si check_debug=.TRUE. ou prt_level>=10 89 89 !------------------------------------------------------------------------- 90 90 … … 96 96 if (l<=lmax(ig)) then 97 97 if (entr_star(ig,l)>1.) then 98 print*,'WARNING thermcell_flux 1 ig,l,lmax(ig)',ig,l,lmax(ig)99 print*,'entr_star(ig,l)',entr_star(ig,l)100 print*,'alim_star(ig,l)',alim_star(ig,l)101 print*,'detr_star(ig,l)',detr_star(ig,l)98 PRINT*,'WARNING thermcell_flux 1 ig,l,lmax(ig)',ig,l,lmax(ig) 99 PRINT*,'entr_star(ig,l)',entr_star(ig,l) 100 PRINT*,'alim_star(ig,l)',alim_star(ig,l) 101 PRINT*,'detr_star(ig,l)',detr_star(ig,l) 102 102 endif 103 103 else 104 104 if (abs(entr_star(ig,l))+abs(alim_star(ig,l))+abs(detr_star(ig,l))>0.) then 105 print*,'cas 1 : ig,l,lmax(ig)',ig,l,lmax(ig)106 print*,'entr_star(ig,l)',entr_star(ig,l)107 print*,'alim_star(ig,l)',alim_star(ig,l)108 print*,'detr_star(ig,l)',detr_star(ig,l)105 PRINT*,'cas 1 : ig,l,lmax(ig)',ig,l,lmax(ig) 106 PRINT*,'entr_star(ig,l)',entr_star(ig,l) 107 PRINT*,'alim_star(ig,l)',alim_star(ig,l) 108 PRINT*,'detr_star(ig,l)',detr_star(ig,l) 109 109 abort_message = '' 110 labort_physic=. true.110 labort_physic=.TRUE. 111 111 CALL abort_physic (modname,abort_message,1) 112 112 endif … … 166 166 167 167 ! if (prt_level.ge.10) & 168 ! & callprintflux(ngrid,nlay,lunout1,igout,f,lmax,lalim, &168 ! & CALL printflux(ngrid,nlay,lunout1,igout,f,lmax,lalim, & 169 169 ! & ptimestep,masse,entr,detr,fm,'2 ') 170 170 … … 201 201 do ig=1,ngrid 202 202 if (fm(ig,l+1)<0.) then 203 ! print*,'fm1<0',l+1,lmax(ig),fm(ig,l+1)203 ! PRINT*,'fm1<0',l+1,lmax(ig),fm(ig,l+1) 204 204 ncorecfm1=ncorecfm1+1 205 205 fm(ig,l+1)=fm(ig,l) … … 270 270 271 271 272 labort_physic=. false.272 labort_physic=.FALSE. 273 273 do ig=1,ngrid 274 274 if (entr(ig,l)<0.) then 275 labort_physic=. true.275 labort_physic=.TRUE. 276 276 igout=ig 277 277 lout=l … … 280 280 281 281 if (labort_physic) then 282 print*,'N1 ig,l,entr',igout,lout,entr(igout,lout)282 PRINT*,'N1 ig,l,entr',igout,lout,entr(igout,lout) 283 283 abort_message = 'entr negatif' 284 284 CALL abort_physic (modname,abort_message,1) … … 310 310 enddo 311 311 312 labort_physic=. false.312 labort_physic=.FALSE. 313 313 do ig=1,ngrid 314 314 if (entr(ig,l)<0.) then 315 labort_physic=. true.315 labort_physic=.TRUE. 316 316 igout=ig 317 317 endif … … 319 319 if (labort_physic) then 320 320 ig=igout 321 print*,'ig,l,lmax(ig)',ig,l,lmax(ig)322 print*,'entr(ig,l)',entr(ig,l)323 print*,'fm(ig,l)',fm(ig,l)321 PRINT*,'ig,l,lmax(ig)',ig,l,lmax(ig) 322 PRINT*,'entr(ig,l)',entr(ig,l) 323 PRINT*,'fm(ig,l)',fm(ig,l) 324 324 abort_message = 'probleme dans thermcell flux' 325 325 CALL abort_physic (modname,abort_message,1) … … 348 348 enddo 349 349 350 labort_physic=. false.350 labort_physic=.FALSE. 351 351 do ig=1,ngrid 352 352 if (detr(ig,l)<0.) then 353 labort_physic=. true.353 labort_physic=.TRUE. 354 354 igout=ig 355 355 endif … … 357 357 if (labort_physic) then 358 358 ig=igout 359 print*,'cas 2 : ig,l,lmax(ig)',ig,l,lmax(ig)360 print*,'detr(ig,l)',detr(ig,l)361 print*,'fm(ig,l)',fm(ig,l)359 PRINT*,'cas 2 : ig,l,lmax(ig)',ig,l,lmax(ig) 360 PRINT*,'detr(ig,l)',detr(ig,l) 361 PRINT*,'fm(ig,l)',fm(ig,l) 362 362 abort_message = 'probleme dans thermcell flux' 363 363 CALL abort_physic (modname,abort_message,1) … … 398 398 ! lmax(ig)=l+1 399 399 ! zmax(ig)=zlev(ig,lmax(ig)) 400 ! print*,'alpha>1',l+1,lmax(ig)400 ! PRINT*,'alpha>1',l+1,lmax(ig) 401 401 ncorecalpha=ncorecalpha+1 402 402 endif … … 413 413 414 414 ! if (prt_level.ge.10) & 415 ! & callprintflux(ngrid,nlay,lunout1,igout,f,lmax,lalim, &415 ! & CALL printflux(ngrid,nlay,lunout1,igout,f,lmax,lalim, & 416 416 ! & ptimestep,masse,entr,detr,fm,'8 ') 417 417 … … 423 423 424 424 if (1==1) then 425 labort_physic=. false.425 labort_physic=.FALSE. 426 426 do l=1,nlay-1 427 427 do ig=1,ngrid … … 446 446 igout=ig 447 447 lout=l 448 labort_physic=. true.448 labort_physic=.TRUE. 449 449 endif 450 450 entr(ig,l+1)=entr(ig,l+1)-ddd … … 460 460 ig=igout 461 461 l=lout 462 print*,'ig,l',ig,l463 print*,'eee0',eee0464 print*,'ddd0',ddd0465 print*,'eee',eee466 print*,'ddd',ddd467 print*,'entr',entr(ig,l)468 print*,'detr',detr(ig,l)469 print*,'masse',masse(ig,l)470 print*,'fomass_max',fomass_max471 print*,'masse(ig,l)*fomass_max/ptimestep',masse(ig,l)*fomass_max/ptimestep472 print*,'ptimestep',ptimestep473 print*,'lmax(ig)',lmax(ig)474 print*,'fm(ig,l+1)',fm(ig,l+1)475 print*,'fm(ig,l)',fm(ig,l)462 PRINT*,'ig,l',ig,l 463 PRINT*,'eee0',eee0 464 PRINT*,'ddd0',ddd0 465 PRINT*,'eee',eee 466 PRINT*,'ddd',ddd 467 PRINT*,'entr',entr(ig,l) 468 PRINT*,'detr',detr(ig,l) 469 PRINT*,'masse',masse(ig,l) 470 PRINT*,'fomass_max',fomass_max 471 PRINT*,'masse(ig,l)*fomass_max/ptimestep',masse(ig,l)*fomass_max/ptimestep 472 PRINT*,'ptimestep',ptimestep 473 PRINT*,'lmax(ig)',lmax(ig) 474 PRINT*,'fm(ig,l+1)',fm(ig,l+1) 475 PRINT*,'fm(ig,l)',fm(ig,l) 476 476 abort_message = 'probleme dans thermcell_flux' 477 477 CALL abort_physic (modname,abort_message,1) … … 494 494 ! if (ncorecfm1+ncorecfm2+ncorecfm3+ncorecfm4+ncorecfm5+ncorecalpha > 0 ) then 495 495 496 ! print*,'PB thermcell : on a du coriger ',ncorecfm1,'x fm1',&496 ! PRINT*,'PB thermcell : on a du coriger ',ncorecfm1,'x fm1',& 497 497 ! & ncorecfm2,'x fm2',ncorecfm3,'x fm3 et', & 498 498 ! & ncorecfm4,'x fm4',ncorecfm5,'x fm5 et', & … … 505 505 506 506 ! if (prt_level.ge.10) & 507 ! & callprintflux(ngrid,nlay,lunout1,igout,f,lmax,lalim, &507 ! & CALL printflux(ngrid,nlay,lunout1,igout,f,lmax,lalim, & 508 508 ! & ptimestep,masse,entr,detr,fm,'fin') 509 509
Note: See TracChangeset
for help on using the changeset viewer.