Ignore:
Timestamp:
Apr 5, 2022, 3:44:30 PM (2 years ago)
Author:
dcugnet
Message:
  • New water names: H2Ov, H2Ol, H2Oi, H2Or -> H2O_g, H2O_l, H2O_s, H2O_r.
  • Corrections for the lOldCode=.FALSE., not activated yet.
Location:
LMDZ6/trunk/libf/phylmdiso
Files:
2 edited

Legend:

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

    r4089 r4120  
    3535    USE iophy
    3636    USE dimphy
    37     USE infotrac_phy, ONLY: nqtot, tracers, type_trac, niso, ntraciso, maxlen
     37    USE infotrac_phy, ONLY: nqtot, tracers, type_trac, niso, ntraciso
     38    USE strings_mod,  ONLY: maxlen
    3839    USE ioipsl
    3940    USE phys_cal_mod, only : hour, calend
  • LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90

    r4119 r4120  
    3939    USE ioipsl_getin_p_mod, ONLY : getin_p
    4040    USE indice_sol_mod
    41     USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac, nqCO2, ok_isotopes
    42     USE readTracFiles_mod, ONLY: phases_sep
    43     USE strings_mod,  ONLY: strIdx
     41    USE infotrac, ONLY: iso_num, iso_indnum
     42    USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac, nqCO2, ok_isotopes, indnum_fn_num
     43    USE readTracFiles_mod, ONLY: addPhase
     44    USE strings_mod,  ONLY: strIdx, strStack, int2str
    4445    USE iophy
    4546    USE limit_read_mod, ONLY : init_limit_read
     
    126127#ifdef ISO
    127128    USE infotrac_phy, ONLY:  &
    128         iqiso,iso_indnum,ok_isotrac,niso, ntraciso
     129        iqiso,ok_isotrac,niso, ntraciso
    129130     USE isotopes_mod, ONLY: iso_eau,iso_HDO,iso_O18,iso_O17,iso_HTO, &
    130131        & bidouille_anti_divergence,ok_bidouille_wake, &
     
    13921393       IF ((iflag_ice_thermo.gt.0).and.(nqo==2)) THEN
    13931394          WRITE (lunout, *) ' iflag_ice_thermo==1 requires 3 H2O tracers ', &
    1394                '(H2Ov, H2Ol, H2Oi) but nqo=', nqo, '. Might as well stop here.'
     1395               '(H2O_g, H2O_l, H2O_s) but nqo=', nqo, '. Might as well stop here.'
    13951396          abort_message='see above'
    13961397          CALL abort_physic(modname,abort_message,1)
     
    14051406       IF (ok_ice_sursat.AND.(nqo.NE.4)) THEN
    14061407          WRITE (lunout, *) ' ok_ice_sursat=y requires 4 H2O tracers ', &
    1407                '(H2Ov, H2Ol, H2Oi, rnebi) but nqo=', nqo, '. Might as well stop here.'
     1408               '(H2O_g, H2O_l, H2O_s, H2O_r) but nqo=', nqo, '. Might as well stop here.'
    14081409          abort_message='see above'
    14091410          CALL abort_physic(modname,abort_message,1)
     
    24332434      endif !if (nqo.eq.3) then
    24342435#endif
    2435       if (ixt.gt.niso) then
    2436       write(*,*) 'izone,iiso=',tracers(iqiso(ixt,ivap))%iso_iZone,iso_indnum(iqiso(ixt,ivap)) 
    2437       endif
     2436      if (ixt.gt.niso) write(*,*) 'izone=',tracers(iqiso(ixt,ivap))%iso_iZone
    24382437      DO k = 1, klev
    24392438       DO i = 1, klon
     
    24942493    ELSE
    24952494! DC: make sure the final "1" index was meant for 1st H2O phase (vapor) !!!
    2496 !       tr_seri(:,:,strIdx(tracers(:)%name,'H2O'//phases_sep//'g')) = 0.0
    2497        tr_seri(:,:,strIdx(tracers(:)%name,'H2Ov')) = 0.0
     2495       tr_seri(:,:,strIdx(tracers(:)%name,addPhase('H2O','g'))) = 0.0
    24982496    ENDIF
    24992497!
Note: See TracChangeset for help on using the changeset viewer.