Ignore:
Timestamp:
May 9, 2022, 12:35:40 PM (2 years ago)
Author:
dcugnet
Message:
  • Some variables are renamed or replaced by direct equivalents:
    • iso_indnum -> tracers(:)%iso_iName
    • niso_possibles -> niso
    • iqiso -> iqIsoPha ; index_trac -> itZonIso
    • ok_iso_verif -> isoCheck
    • ntraceurs_zone -> nzone ; ntraciso -> ntiso
    • qperemin -> min_qparent ; masseqmin -> min_qmass ; ratiomin -> min_ratio
  • Some renamed variables are only aliased with the older name (using USE <module>, ONLY: <oldName> => <newName>) in routines where they are repeated many times.
  • Few hard-coded indexes are now computed (examples: ilic, iso, ivap, irneb, iq_vap, iq_liq, iso_H2O, iso_HDO, iso_HTO, iso_O17, iso_O18).
  • The IF(isoCheck) test is now embedded in the check_isotopes_seq and check_isotopes_loc routines (lighter calling).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/phyredem.F90

    r4089 r4143  
    3939  USE iostart, ONLY: open_restartphy, close_restartphy, enddef_restartphy, put_field, put_var
    4040  USE traclmdz_mod, ONLY : traclmdz_to_restart
    41   USE infotrac_phy, ONLY: type_trac, nqtot, tracers, nbtr, niso, ntraciso
     41  USE infotrac_phy, ONLY: type_trac, nqtot, tracers, nbtr, niso
    4242#ifdef ISO
    4343#ifdef ISOVERIF
     
    485485        xtrain_fall,xtsnow_fall, ql_ancien,xtl_ancien,qs_ancien,xts_ancien, &
    486486        xtsol,fxtevap
    487       USE infotrac_phy,ONLY: niso, ntraciso
     487      USE infotrac_phy,ONLY: niso, ntiso
    488488      !USE control_mod
    489489      USE indice_sol_mod, ONLY: nbsrf
     
    509509      !REAL xtsol(niso,klon)
    510510      REAL xtsnow(niso,klon,nbsrf)
    511       !REAL xtevap(ntraciso,klon,nbsrf)     
     511      !REAL xtevap(ntiso,klon,nbsrf)     
    512512      REAL xtrun_off_lic_0(niso,klon)
    513513      REAL Rland_ice(niso,klon)
     
    566566#endif
    567567
    568    do ixt=1,ntraciso
     568   do ixt=1,ntiso
    569569
    570570     if (ixt.le.niso) then
     
    576576        outiso=striso(iiso)//strtrac(izone)
    577577#else
    578         write(*,*) 'phyredem 546: ixt,ntraciso=', ixt,ntraciso
     578        write(*,*) 'phyredem 546: ixt,ntiso=', ixt,ntiso
    579579        stop
    580580#endif
Note: See TracChangeset for help on using the changeset viewer.