Ignore:
Timestamp:
Dec 23, 2021, 6:54:17 PM (2 years ago)
Author:
dcugnet
Message:

Second commit for new tracers.

  • include most of the keys in the tracers descriptor vector "tracers(:)".
  • fix in phylmdiso/cv3_routines: fq_* variables were used where their fxt_* counterparts were expected.
  • multiple IF(nqdesc(iq)>0) and IF(nqfils(iq)>0) tests suppressed, because they are not needed: "do ... enddo" loops with 0 upper bound are not executed.
  • remove French accents from comments (encoding problem) in phylmdiso/cv3_routines and phylmdiso/cv30_routines.
  • modifications in "isotopes_verif_mod", where the call to function "iso_verif_tag17_q_deltad_chn" in "iso_verif_tag17_q_deltad_chn" was not detected at linking stage, although defined in the same module (?).
File:
1 edited

Legend:

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

    r2281 r4050  
    55  REAL,POINTER,SAVE :: dzqw(:,:)
    66  REAL,POINTER,SAVE :: adzqw(:,:)
    7   ! CRisi: pour les traceurs: 
    8   !REAL,POINTER,SAVE :: masseq(:,:,:)
     7  ! CRisi: pour les traceurs:
    98  REAL,POINTER,SAVE :: Ratio(:,:,:)
    109 
     
    2524    CALL allocate_u(dzqw,llm,d)
    2625    CALL allocate_u(adzqw,llm,d)
    27     if (nqdesc_tot.gt.0) then
    28     !CALL allocate_u(masseq,llm,nqtot,d)
    29     CALL allocate_u(Ratio,llm,nqtot,d)
    30     endif !if (nqdesc_tot.gt.0) then
     26    IF(ANY(tracers(:)%nqDescen > 0)) CALL allocate_u(Ratio,llm,nqtot,d)
    3127
    3228  END SUBROUTINE vlz_allocate
     
    4440    CALL switch_u(dzqw,distrib_vanleer,dist)
    4541    CALL switch_u(adzqw,distrib_vanleer,dist)
    46     ! CRisi:
    47     if (nqdesc_tot.gt.0) then   
    48     !CALL switch_u(masseq,distrib_vanleer,dist)
    49     CALL switch_u(Ratio,distrib_vanleer,dist)
    50     endif !if (nqdesc_tot.gt.0) then     
     42    IF(ANY(tracers(:)%nqDescen > 0)) CALL switch_u(Ratio,distrib_vanleer,dist)
    5143
    5244  END SUBROUTINE vlz_switch_vanleer 
Note: See TracChangeset for help on using the changeset viewer.