Ignore:
Timestamp:
Sep 18, 2024, 11:22:37 PM (4 months ago)
Author:
dcugnet
Message:

The "readTracFiles_mod" module usage is restricted to "infotrac" and" infotrac_phy" routines.
The internal routines or quantities of this module are now accessible through these these two routines:

addPhase, delPhase, new2oldH2O, newHNO3, oldHNO3

Location:
LMDZ6/trunk/libf/dyn3dmem
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3dmem/dynetat0_loc.F90

    r5190 r5199  
    77!-------------------------------------------------------------------------------
    88  USE parallel_lmdz
    9   USE infotrac,    ONLY: nqtot, tracers, niso, iqIsoPha, iH2O, isoName
     9  USE infotrac,    ONLY: nqtot, tracers, niso, iqIsoPha, iH2O, isoName, &
     10                         new2oldH2O, newHNO3, oldHNO3, getKey
    1011  USE strings_mod, ONLY: maxlen, msg, strStack, real2str, int2str, strIdx
    1112  USE netcdf,      ONLY: NF90_OPEN,  NF90_NOWRITE, NF90_INQUIRE_DIMENSION, NF90_INQ_VARID, &
    1213                         NF90_CLOSE, NF90_GET_VAR, NF90_INQUIRE_VARIABLE,  NF90_NoErr
    13   USE readTracFiles_mod, ONLY: new2oldH2O, newHNO3, oldHNO3, getKey
    1414  USE control_mod, ONLY: planet_type
    1515  USE assert_eq_m, ONLY: assert_eq
     
    173173    !--------------------------------------------------------------------------------------------------------------------------
    174174    ELSE IF(NF90_INQ_VARID(fID, oldVar, vID) == NF90_NoErr) THEN                         !=== TRY WITH ALTERNATE NAME
    175       CALL msg('Tracer <'//TRIM(var)//'> is missing => initialized to <'//TRIM(oldVar)//'>', modname)
     175      CALL msg('Missing tracer <'//TRIM(var)//'> => initialized to <'//TRIM(oldVar)//'>', modname)
    176176      CALL get_var2(oldVar, q_glo); q(ijb_u:ije_u,:,iq)=q_glo(ijb_u:ije_u,:)
    177177    !--------------------------------------------------------------------------------------------------------------------------
     
    189189            CALL abort_gcm(TRIM(modname), 'missing isotopic parameters', 1)
    190190         endif
    191          CALL msg('Tracer <'//TRIM(var)//'> is missing => initialized with a simplified Rayleigh distillation law.', modname)
     191         CALL msg('Missing tracer <'//TRIM(var)//'> => initialized with a simplified Rayleigh distillation law.', modname)
    192192         q(ijb_u:ije_u,:,iq) = q(ijb_u:ije_u,:,iqParent)*tnat*(q(ijb_u:ije_u,:,iqParent)/30.e-3)**(alpha_ideal-1.)
    193193         ! Camille 9 mars 2023: point de vigilence: initialisation incohérente
    194194         ! avec celle de xt_ancien dans la physiq.
    195195      ELSE
    196          CALL msg('Tracer <'//TRIM(var)//'> is missing => initialized to its parent isotope concentration.', modname)
     196         CALL msg('Missing tracer <'//TRIM(var)//'> => initialized to its parent isotope concentration.', modname)
    197197         ! Camille 9 mars 2023: attention!! seuls les tags qui correspondent à
    198198         ! izone=izone_init (définie dans isotrac_mod) sont initialisés comme
     
    208208    !--------------------------------------------------------------------------------------------------------------------------
    209209    ELSE                                                                                 !=== MISSING: SET TO 0
    210       CALL msg('Tracer <'//TRIM(var)//'> is missing => initialized to zero', modname)
     210      CALL msg('missing tracer <'//TRIM(var)//'> => initialized to zero', modname)
    211211      q(ijb_u:ije_u,:,iq)=0.
    212212    !--------------------------------------------------------------------------------------------------------------------------
  • LMDZ6/trunk/libf/dyn3dmem/iniacademic_loc.F90

    r5190 r5199  
    55
    66  USE filtreg_mod, ONLY: inifilr
    7   USE infotrac,    ONLY: nqtot, niso, iqIsoPha, tracers, getKey, isoName
     7  USE infotrac,    ONLY: nqtot, niso, iqIsoPha, tracers, getKey, isoName, addPhase
    88  USE control_mod, ONLY: day_step,planet_type
    99  use exner_hyb_m, only: exner_hyb
     
    2222  USE temps_mod, ONLY: annee_ref, day_ini, day_ref
    2323  USE ener_mod, ONLY: etot0,ptot0,ztot0,stot0,ang0
    24   USE readTracFiles_mod, ONLY: addPhase
    2524  use netcdf, only : NF90_NOWRITE,NF90_OPEN,NF90_NOERR,NF90_INQ_VARID
    2625  use netcdf, only : NF90_CLOSE, NF90_GET_VAR
  • LMDZ6/trunk/libf/dyn3dmem/qminimum_loc.F

    r5190 r5199  
    44      SUBROUTINE qminimum_loc( q,nqtot,deltap )
    55      USE parallel_lmdz
    6       USE infotrac, ONLY: niso, ntiso, iqIsoPha, tracers,
     6      USE infotrac, ONLY: niso, ntiso, iqIsoPha, tracers, addPhase,
    77     &                    isoCheck, min_qParent
    88      USE strings_mod, ONLY: strIdx
    9       USE readTracFiles_mod, ONLY: addPhase
    109      IMPLICIT none
    1110c
Note: See TracChangeset for help on using the changeset viewer.