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

(lint) Fix obsolete boolean operators

File:
1 edited

Legend:

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

    r1907 r5082  
    177177! Le Rn est traiter commme une couche Brownienne puisque vdeptr = 0.
    178178!-------------------------------------------------------------------
    179      IF ( NINT(masktr(i)) .EQ. 1 ) THEN
     179     IF ( NINT(masktr(i)) == 1 ) THEN
    180180        zx_trs(i) = local_trs(i)
    181181        zx_a = zx_trs(i)                                           &
     
    197197!--------------------------------------------------------
    198198
    199      IF ( (itr.eq.id_rn.AND.NINT(masktr(i)).EQ.1.AND.lat(i).GE.60..AND.lat(i).LE.70.).OR.      &
    200           (itr.eq.id_pb.AND.NINT(masktr(i)).EQ.1.AND.lat(i).GE.60..AND.lat(i).LE.70.) ) THEN
     199     IF ( (itr==id_rn.AND.NINT(masktr(i))==1.AND.lat(i)>=60..AND.lat(i)<=70.).OR.      &
     200          (itr==id_pb.AND.NINT(masktr(i))==1.AND.lat(i)>=60..AND.lat(i)<=70.) ) THEN
    201201        zx_trs(i) = local_trs(i)
    202202        zx_a = zx_trs(i)                                           &
     
    223223!---------------------------------------------------------------
    224224
    225      IF ( (itr.EQ.id_rn.AND.NINT(masktr(i)).EQ.0).OR.       &
    226           (itr.EQ.id_rn.AND.NINT(masktr(i)).EQ.1.AND.lat(i).LT.-60.)) THEN
     225     IF ( (itr==id_rn.AND.NINT(masktr(i))==0).OR.       &
     226          (itr==id_rn.AND.NINT(masktr(i))==1.AND.lat(i)<-60.)) THEN
    227227        zx_trs(i) = 0.
    228228        local_trs(i) = 0.
     
    232232! des oceans et des continents
    233233!--------------------------------------------------------------
    234      IF ( (itr.EQ.id_rn.AND.NINT(masktr(i)).EQ.0).OR.    &
    235           (itr.EQ.id_rn.AND.NINT(masktr(i)).EQ.1.AND.lat(i).GT.70.)) THEN
     234     IF ( (itr==id_rn.AND.NINT(masktr(i))==0).OR.    &
     235          (itr==id_rn.AND.NINT(masktr(i))==1.AND.lat(i)>70.)) THEN
    236236        zx_trs(i) = 0.
    237237        local_trs(i) = 0.
     
    241241!--------------------------------------------
    242242
    243      IF (itr.eq.id_rn.AND.NINT(masktr(i)).EQ.0) THEN
     243     IF (itr==id_rn.AND.NINT(masktr(i))==0) THEN
    244244        zx_trs(i) = 0.
    245245        local_trs(i) = 0.
Note: See TracChangeset for help on using the changeset viewer.