Ignore:
Timestamp:
Jun 8, 2021, 6:33:45 PM (4 years ago)
Author:
Laurent Fairhead
Message:

Version modifiee par Camille pour version isotopique

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/infotrac_phy.F90

    r3872 r3924  
    2020  INTEGER, SAVE :: nbtr
    2121!$OMP THREADPRIVATE(nbtr)
     22
     23  INTEGER, SAVE :: nqtottr
     24!$OMP THREADPRIVATE(nqtottr)
    2225
    2326! ThL : number of CO2 tracers                   ModThL
     
    97100    INTEGER,SAVE :: niso,ntraceurs_zone,ntraciso
    98101!$OMP THREADPRIVATE(niso,ntraceurs_zone,ntraciso)
     102
     103    INTEGER, ALLOCATABLE, DIMENSION(:), SAVE ::  itr_indice ! numéro iq entre 1 et nqtot qui correspond au traceur itr entre 1 et nqtottr
     104!$OMP THREADPRIVATE(itr_indice)
    99105 
    100106CONTAINS
    101107
    102   SUBROUTINE init_infotrac_phy(nqtot_,nqo_,nbtr_,nqCO2_,tname_,ttext_,type_trac_,&
     108  SUBROUTINE init_infotrac_phy(nqtot_,nqo_,nbtr_,nqtottr_,nqCO2_,tname_,ttext_,type_trac_,&
    103109                               niadv_,conv_flg_,pbl_flg_,solsym_,&
    104110                               nqfils_,nqdesc_,nqdesc_tot_,iqfils_,iqpere_,&
     
    108114                               iso_indnum_,zone_num_,phase_num_,&
    109115                               indnum_fn_num_,index_trac_,&
    110                                niso_,ntraceurs_zone_,ntraciso_&
     116                               niso_,ntraceurs_zone_,ntraciso_,itr_indice_&
    111117#ifdef CPP_StratAer
    112118                               ,nbtr_bin_,nbtr_sulgas_&
     
    122128    INTEGER,INTENT(IN) :: nqo_
    123129    INTEGER,INTENT(IN) :: nbtr_
     130    INTEGER,INTENT(IN) :: nqtottr_
    124131    INTEGER,INTENT(IN) :: nqCO2_
    125132#ifdef CPP_StratAer
     
    162169    INTEGER,INTENT(IN) :: ntraceurs_zone_
    163170    INTEGER,INTENT(IN) :: ntraciso_
     171    INTEGER,INTENT(IN) :: itr_indice_(nqtottr_)
    164172
    165173    CHARACTER(LEN=30) :: modname="init_infotrac_phy"
     
    169177    nbtr=nbtr_
    170178    nqCO2=nqCO2_
     179    nqtottr=nqtottr_
    171180#ifdef CPP_StratAer
    172181    nbtr_bin=nbtr_bin_
     
    242251      ALLOCATE(index_trac(ntraceurs_zone,niso))
    243252      index_trac(:,:)=index_trac_(:,:)
     253
     254      ALLOCATE(itr_indice(nqtottr))
     255      itr_indice(:)=itr_indice_(:)
    244256    ENDIF ! of IF(ok_isotopes)
    245257 
Note: See TracChangeset for help on using the changeset viewer.