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/dyn3d/friction.F

    r2597 r5082  
    5353        ! set friction type
    5454        call getin("friction_type",friction_type)
    55         if ((friction_type.lt.0).or.(friction_type.gt.1)) then
     55        if ((friction_type<0).or.(friction_type>1)) then
    5656          abort_message="wrong friction type"
    5757          write(lunout,*)'Friction: wrong friction type',friction_type
     
    6161      ENDIF
    6262
    63       if (friction_type.eq.0) then
     63      if (friction_type==0) then
    6464c   calcul des composantes au carre du vent naturel
    6565      do j=1,jjp1
     
    124124      endif ! of if (friction_type.eq.0)
    125125
    126       if (friction_type.eq.1) then
     126      if (friction_type==1) then
    127127        do l=1,llm
    128128          ucov(:,:,l)=ucov(:,:,l)*(1.-pdt*kfrict(l))
Note: See TracChangeset for help on using the changeset viewer.