Ignore:
Timestamp:
Jan 23, 2023, 11:28:51 AM (17 months ago)
Author:
dcugnet
Message:
  • revert to original "type_trac" management:
    • 4 characters keyword (lmdz, Inca, repr, co2i, into, aeNP, coag
    • no longer a list of component with "|" separator
    • the parsed (with "|" separator) version "types_trac" is no longer used
    • the sole routine using a list of component is readTracFiles
  • fix for INCA and CO2Aer modes: setGeneration is now a function, index corrections for had/vadv.
File:
1 edited

Legend:

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

    r4386 r4389  
    3939    USE ioipsl_getin_p_mod, ONLY : getin_p
    4040    USE indice_sol_mod
    41     USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, types_trac
     41    USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac
    4242    USE readTracFiles_mod, ONLY: addPhase
    4343    USE strings_mod,  ONLY: strIdx
     
    15701570       tau_overturning_th(:)=0.
    15711571
    1572        IF (ANY(types_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN
     1572       IF (ANY(type_trac == ['inca','inco'])) THEN
    15731573          ! jg : initialisation jusqu'au ces variables sont dans restart
    15741574          ccm(:,:,:) = 0.
     
    21872187       !c         ENDDO
    21882188       !
    2189        IF (ANY(types_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN ! ModThL
     2189       IF (ANY(type_trac == ['inca','inco'])) THEN ! ModThL
    21902190#ifdef INCA
    21912191          CALL VTe(VTphysiq)
     
    22692269       ENDIF
    22702270       !
    2271        IF (ANY(types_trac == 'repr')) THEN
     2271       IF (type_trac == 'repr') THEN
    22722272#ifdef REPROBUS
    22732273          CALL chemini_rep(  &
     
    23862386
    23872387    ! Update time and other variables in Reprobus
    2388     IF (ANY(types_trac == 'repr')) THEN
     2388    IF (type_trac == 'repr') THEN
    23892389#ifdef REPROBUS
    23902390       CALL Init_chem_rep_xjour(jD_cur-jD_ref+day_ref)
     
    36543654          !
    36553655          !>jyg
    3656           IF (ANY(types_trac == 'repr')) THEN
     3656          IF (type_trac == 'repr') THEN
    36573657             nbtr_tmp=ntra
    36583658          ELSE
     
    51915191    ENDDO
    51925192
    5193     IF (ANY(types_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN ! ModThL
     5193    IF (ANY(type_trac == ['inca','inco'])) THEN ! ModThL
    51945194#ifdef INCA
    51955195       CALL VTe(VTphysiq)
     
    52475247#endif
    52485248    ENDIF !type_trac = inca or inco
    5249     IF (ANY(types_trac == 'repr')) THEN
     5249    IF (type_trac == 'repr') THEN
    52505250#ifdef REPROBUS
    52515251    !CALL chemtime_rep(itap+itau_phy-1, date0, dtime, itap)
     
    63366336    !
    63376337
    6338     IF (ANY(types_trac=='repr')) THEN
     6338    IF (type_trac=='repr') THEN
    63396339!MM pas d'impact, car on recupere q_seri,tr_seri,t_seri via phys_local_var_mod
    63406340!MM                               dans Reprobus
     
    65016501#endif
    65026502    !
    6503     IF (ANY(types_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN
     6503    IF (ANY(type_trac == ['inca','inco'])) THEN
    65046504#ifdef INCA
    65056505       CALL VTe(VTphysiq)
     
    65256525    ENDIF
    65266526
    6527     IF (ANY(types_trac == 'repr')) THEN
     6527    IF (type_trac == 'repr') THEN
    65286528#ifdef REPROBUS
    65296529        CALL coord_hyb_rep(paprs, pplay, aps, bps, ap, bp, cell_area)
     
    69016901
    69026902#ifdef INCA
    6903        if (ANY(types_trac == 'inca' )) then
     6903       if (type_trac == 'inca') then
    69046904          IF (is_omp_master .and. grid_type==unstructured) THEN
    69056905             CALL finalize_inca
Note: See TracChangeset for help on using the changeset viewer.