Ignore:
Timestamp:
Apr 30, 2020, 4:47:53 PM (5 years ago)
Author:
emillour
Message:

Common dynamics:
Small fix for cases when traceur.def contains lines such as "tnom0,hadv,vadv" or "hadv,vadv,tnom_0", tnom_transp() must also be initialized to "air".
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/dyn3d_common/infotrac.F90

    r2296 r2306  
    541541              ! maybe format is tnom0,hadv,vadv
    542542              read(line,*,iostat=ierr3) tnom_0(iq),hadv(iq),vadv(iq)
    543                if (ierr3.ne.0) then
     543              if (ierr3.ne.0) then
    544544                !assuming values of hadv et vadv
    545545                hadv(iq)=10
     
    547547                read(line,*, iostat=ierr4) tnom_0(iq), tnom_transp(iq)
    548548                if (ierr4.ne.0) then
    549                 ! assume only tnom0 is provided (havd and vad default to 10)
     549                ! assume only tnom0 is provided (hadv and vadv default to 10)
    550550                  read(line,*) tnom_0(iq)
    551551                  tnom_transp(iq)='air'
    552552                endif
    553               endif
    554              endif
    555             !tnom_transp(iq)='air' ! no isotopes... for now... !LRossi: we now add the possibility to use isotopes (HDO cycle)
    556             endif ! of if(ierr2.ne.0)
     553              else
     554                !format is tnom0,hadv,vadv
     555                tnom_transp(iq)='air' ! no isotopes
     556              endif ! of if (ierr3.ne.0)
     557             else
     558               ! format is hadv,vadv,tnom_0
     559               tnom_transp(iq)='air' ! no isotopes
     560             endif ! of if (ierr2.ne.0)
     561            endif ! of if(ierr1.ne.0)
    557562          END DO ! of DO iq=1,nqtrue
    558563          CLOSE(90) 
Note: See TracChangeset for help on using the changeset viewer.