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_cloud_optics_prop.F90

    r4715 r5082  
    175175  reice_pi = 0.
    176176
    177   IF (iflag_t_glace.EQ.0) THEN
     177  IF (iflag_t_glace==0) THEN
    178178    DO k = 1, klev
    179179      DO i = 1, klon
     
    245245    !--flag_aerosol=7 => MACv2SP climatology
    246246    !--in this case there is an enhancement factor
    247     IF (flag_aerosol .EQ. 7) THEN
     247    IF (flag_aerosol == 7) THEN
    248248
    249249      !--present-day
     
    300300          zfiwp_var = 1000.*icefrac_optics(i, k)*radocond(i, k)/pclc(i, k)*rhodz(i, k)
    301301          ! Calculation of ice cloud effective radius in micron
    302           IF (iflag_rei .EQ. 1) THEN
     302          IF (iflag_rei == 1) THEN
    303303            ! when we account for precipitation in the radiation scheme,
    304304            ! It is recommended to use the rei formula from Sun and Rikkus 1999 with a revision
     
    407407
    408408
    409         IF (iflag_rei .GT. 0) THEN
     409        IF (iflag_rei > 0) THEN
    410410
    411411            ! when we account for precipitation in the radiation scheme,
     
    600600      reffclwtop(i) = 0.
    601601      cldncl(i) = 0.
    602       IF (novlp.EQ.3 .OR. novlp.EQ.1) tcc(i) = 1.
    603       IF (novlp.EQ.2) tcc(i) = 0.
     602      IF (novlp==3 .OR. novlp==1) tcc(i) = 1.
     603      IF (novlp==2) tcc(i) = 0.
    604604    ENDDO
    605605
     
    612612        IF (pcltau(i,k)>thres_tau .AND. pclc(i,k)>thres_neb) THEN
    613613
    614           IF (novlp.EQ.2) THEN
     614          IF (novlp==2) THEN
    615615            IF (first) THEN
    616616              WRITE (*, *) 'Hypothese de recouvrement: MAXIMUM'
     
    621621          ENDIF
    622622
    623           IF (novlp.EQ.3) THEN
     623          IF (novlp==3) THEN
    624624            IF (first) THEN
    625625              WRITE (*, *) 'Hypothese de recouvrement: RANDOM'
     
    630630          ENDIF
    631631
    632           IF (novlp.EQ.1) THEN
     632          IF (novlp==1) THEN
    633633            IF (first) THEN
    634634              WRITE (*, *) 'Hypothese de recouvrement: MAXIMUM_ &
     
    655655      ENDDO ! loop over k
    656656
    657       IF (novlp.EQ.3 .OR. novlp.EQ.1) tcc(i) = 1. - tcc(i)
     657      IF (novlp==3 .OR. novlp==1) tcc(i) = 1. - tcc(i)
    658658
    659659    ENDDO ! loop over i
Note: See TracChangeset for help on using the changeset viewer.