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/dyn3dmem/vlspltgen_loc.F

    r4056 r4143  
    2828      USE VAMPIR
    2929      ! CRisi: on rajoute variables utiles d'infotrac 
    30       USE infotrac, ONLY : nqtot, tracers,ok_iso_verif
     30      USE infotrac, ONLY : nqtot, tracers, isoCheck
    3131      USE vlspltgen_mod
    3232      USE comconst_mod, ONLY: cpp
     
    191191      ijb=ij_begin
    192192      ije=ij_end 
    193       if (ok_iso_verif) then
    194         call check_isotopes(zq,ijb,ije,'vlspltgen_loc 191')
    195       endif !if (ok_iso_verif) then   
     193      call check_isotopes(zq,ijb,ije,'vlspltgen_loc 191')
    196194
    197195c$OMP BARRIER           
     
    285283      if (pole_nord) ijb=ij_begin
    286284      if (pole_sud)  ije=ij_end 
    287       if (ok_iso_verif) then
    288            call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 280')
    289       endif !if (ok_iso_verif) then
     285      call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 280')
    290286
    291287      do iq=1,nqtot
     
    328324
    329325     
    330       if (ok_iso_verif) then
     326      IF(isoCheck) THEN
    331327           call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 326')
    332328           ijb=ij_begin-2*iip1
     
    335331           if (pole_sud)  ije=ij_end
    336332           call check_isotopes(zq,ijb,ije,'vlspltgen_loc 336')
    337       endif !if (ok_iso_verif) then 
     333      END IF
    338334
    339335      do iq = 1, nqtot
     
    355351       enddo
    356352
    357       if (ok_iso_verif) then
    358            call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 357')
    359       endif !if (ok_iso_verif) then
     353      call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 357')
    360354
    361355      do iq = 1, nqtot
     
    416410
    417411
    418       if (ok_iso_verif) then
    419            call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 429')
    420       endif !if (ok_iso_verif) then
     412      call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 429')
    421413
    422414c$OMP BARRIER
     
    461453
    462454      !write(*,*) 'vlspltgen_loc 494'
    463       if (ok_iso_verif) then
    464            call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 461')
    465       endif !if (ok_iso_verif) then
     455      call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 461')
    466456
    467457      do iq=1,nqtot
     
    481471       enddo !do iq=1,nqtot
    482472
    483       if (ok_iso_verif) then
    484            call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 493')
    485       endif !if (ok_iso_verif) then
     473      call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 493')
    486474
    487475      do iq=1,nqtot
     
    504492
    505493      !write(*,*) 'vlspltgen 550: apres derniere serie de call vlx'
    506       if (ok_iso_verif) then
    507            call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 521')
    508       endif !if (ok_iso_verif) then
     494      call check_isotopes(zq,ij_begin,ij_end,'vlspltgen_loc 521')
    509495     
    510496      ijb=ij_begin
     
    541527      ENDDO !DO iq=1,nqtot
    542528       
    543       if (ok_iso_verif) then
    544            call check_isotopes(q,ij_begin,ij_end,'vlspltgen_loc 557')
    545       endif !if (ok_iso_verif) then
     529      call check_isotopes(q,ij_begin,ij_end,'vlspltgen_loc 557')
    546530
    547531c$OMP BARRIER
Note: See TracChangeset for help on using the changeset viewer.