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

(lint) Fix obsolete boolean operators

File:
1 edited

Legend:

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

    r4916 r5082  
    8989!----------------------
    9090
    91 IF (iflag_sedim_bs .GT. 0) THEN
     91IF (iflag_sedim_bs > 0) THEN
    9292! begin of top-down loop
    9393DO k = nlay, 1, -1
     
    103103
    104104    ! thermalization of blowing snow precip coming from above     
    105     IF (k.LE.nlay-1) THEN
     105    IF (k<=nlay-1) THEN
    106106
    107107        DO i = 1, ngrid
     
    164164! Sublimation and melting
    165165!++++++++++++++++++++++++++++++++++++++++++++++
    166 IF (iflag_sublim_bs .GT. 0) THEN
     166IF (iflag_sublim_bs > 0) THEN
    167167
    168168DO k = 1, nlay
     
    189189
    190190
    191           IF (ztemp(i) .GT. RTT) THEN
     191          IF (ztemp(i) > RTT) THEN
    192192
    193193             ! if temperature is positive, we assume that part of the blowing snow
     
    226226 
    227227              ! we do not consider deposition, only sublimation
    228               IF (zqv(i) .LT. qsi(i)) THEN
     228              IF (zqv(i) < qsi(i)) THEN
    229229                 rhoair=zpres(i)/ztemp(i)/RD
    230230                 Dv=0.0001*0.211*(p0/zpres(i))*((ztemp(i)/RTT)**1.94) ! water vapor diffusivity in air, SI
     
    256256          ! see Gerber et al. 2023, JGR Atmos for the choice of qbmin
    257257
    258           IF (zqb(i) .LT. qbmin) THEN
     258          IF (zqb(i) < qbmin) THEN
    259259              zqv(i) = zqv(i)+zqb(i)
    260               IF (ztemp(i) .LT. RTT) THEN
     260              IF (ztemp(i) < RTT) THEN
    261261                 ztemp(i) = ztemp(i) - zqb(i) * RLSTT/RCPD/(1.0+RVTMP2*(zqv(i)))
    262262              ELSE
Note: See TracChangeset for help on using the changeset viewer.