Ignore:
Timestamp:
May 6, 2020, 1:46:00 PM (5 years ago)
Author:
emillour
Message:

Mars GCM:
Code tidying: use getin_p() instead of getin() and use "call abort_physic"
instead of "stop" or "call abort".
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/watercloud_mod.F

    r2162 r2311  
    1313     &                nq,tau,tauscaling,rdust,rice,nuice,
    1414     &                rsedcloud,rhocloud,totcloudfrac)
    15       USE ioipsl_getincom, ONLY: getin
     15      USE ioipsl_getin_p_mod, ONLY : getin_p
    1616      USE updaterad, ONLY: updaterdust, updaterice_micro,
    1717     &                     updaterice_typ
     
    132132           write(*,*) 'stop in watercloud (nq.gt.nqmx)!'
    133133           write(*,*) 'nq=',nq,' nqmx=',nqmx
    134            stop
     134           call abort_physic("watercloud","nq.gt.nqmx",1)
    135135        endif
    136136         
     
    144144        imicro = 30
    145145#endif
    146         call getin("imicro",imicro)
     146        call getin_p("imicro",imicro)
    147147        write(*,*)"watercloud: imicro = ",imicro
    148148       
Note: See TracChangeset for help on using the changeset viewer.