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/phydev/infotrac_phy.F90

    r4244 r4389  
    77   INTEGER,                 SAVE :: nqtot                       !--- Tracers nb in dynamics (incl. higher moments + H2O)
    88   CHARACTER(LEN=maxlen),   SAVE :: type_trac                   !--- Keyword for tracers type
    9    CHARACTER(LEN=maxlen),   SAVE, ALLOCATABLE :: types_trac(:)  !--- Parsed version (one or several components name(s))
    10 !$OMP THREADPRIVATE(nqtot, type_trac, types_trac)
     9!$OMP THREADPRIVATE(nqtot, type_trac)
    1110
    1211CONTAINS
    1312
    1413SUBROUTINE init_infotrac_phy(nqtot_, type_trac_)
    15    USE strings_mod, ONLY: strParse
    1614   IMPLICIT NONE
    1715   INTEGER,          INTENT(IN) :: nqtot_
     
    2018
    2119   nqtot = nqtot_
    22    IF(strParse(type_trac, '|', types_trac)) CALL abort_physic(modname,'can''t parse "type_trac = '//TRIM(type_trac)//'"',1)
    2320   type_trac = type_trac_
    2421
Note: See TracChangeset for help on using the changeset viewer.