Ignore:
Timestamp:
Jul 19, 2024, 5:41:58 PM (2 months ago)
Author:
abarral
Message:

(lint) Fix obsolete boolean operators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/lmdz_thermcell_plume.F90

    r4590 r5082  
    255255        zdz2=zlev(ig,lt)-zlev(ig,l)
    256256
    257         do while (lmel.gt.zdz2)
     257        do while (lmel>zdz2)
    258258           lt=lt+1
    259259           zlt=zlev(ig,lt)
     
    321321! En dessous de lalim, on prend le max de alim_star et entr_star pour
    322322! alim_star et 0 sinon
    323         if (l.lt.lalim(ig)) then
     323        if (l<lalim(ig)) then
    324324          alim_star(ig,l)=max(alim_star(ig,l),entr_star(ig,l))
    325325          entr_star(ig,l)=0.
     
    375375   enddo
    376376
    377    if (prt_level.ge.20) print*,'coucou calcul detr 460: ig, l',ig, l
     377   if (prt_level>=20) print*,'coucou calcul detr 460: ig, l',ig, l
    378378!
    379379!===========================================================================
     
    383383   nbpb=0
    384384   do ig=1,ngrid
    385             if (zw2(ig,l+1)>0. .and. zw2(ig,l+1).lt.1.e-10) then
     385            if (zw2(ig,l+1)>0. .and. zw2(ig,l+1)<1.e-10) then
    386386!               stop'On tombe sur le cas particulier de thermcell_dry'
    387387!               print*,'On tombe sur le cas particulier de thermcell_plume'
     
    391391            endif
    392392
    393         if (zw2(ig,l+1).lt.0.) then
     393        if (zw2(ig,l+1)<0.) then
    394394           linter(ig)=(l*(zw2(ig,l+1)-zw2(ig,l))  &
    395395     &               -zw2(ig,l))/(zw2(ig,l+1)-zw2(ig,l))
    396396           zw2(ig,l+1)=0.
    397397!+CR:04/05/12:correction calcul linter pour calcul de zmax continu
    398         elseif (f_star(ig,l+1).lt.0.) then
     398        elseif (f_star(ig,l+1)<0.) then
    399399           linter(ig)=(l*(f_star(ig,l+1)-f_star(ig,l))  &
    400400     &               -f_star(ig,l))/(f_star(ig,l+1)-f_star(ig,l))
     
    405405           wa_moy(ig,l+1)=sqrt(zw2(ig,l+1))
    406406
    407         if (wa_moy(ig,l+1).gt.wmaxa(ig)) then
     407        if (wa_moy(ig,l+1)>wmaxa(ig)) then
    408408!   lmix est le niveau de la couche ou w (wa_moy) est maximum
    409409!on rajoute le calcul de lmix_bis
    410             if (zqla(ig,l).lt.1.e-10) then
     410            if (zqla(ig,l)<1.e-10) then
    411411               lmix_bis(ig)=l+1
    412412            endif
     
    436436       
    437437
    438         if (prt_level.ge.20) print*,'coucou calcul detr 470: ig, l', ig, l
     438        if (prt_level>=20) print*,'coucou calcul detr 470: ig, l', ig, l
    439439
    440440#undef wrgrads_thermcell
Note: See TracChangeset for help on using the changeset viewer.