source: LMDZ6/trunk/libf/dyn3dmem/vlz_mod.F90 @ 4843

Last change on this file since 4843 was 4050, checked in by dcugnet, 3 years ago

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 (?).
  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 1.1 KB
RevLine 
[1632]1MODULE vlz_mod
2
[2270]3  REAL,POINTER,SAVE :: wq(:,:,:)
[1632]4  REAL,POINTER,SAVE :: dzq(:,:)
5  REAL,POINTER,SAVE :: dzqw(:,:)
6  REAL,POINTER,SAVE :: adzqw(:,:)
[4050]7  ! CRisi: pour les traceurs:
[2270]8  REAL,POINTER,SAVE :: Ratio(:,:,:)
[1632]9 
10CONTAINS
11
12  SUBROUTINE vlz_allocate
13  USE bands
[1810]14  USE allocate_field_mod
[1823]15  USE parallel_lmdz
[1632]16  USE infotrac
[1810]17  USE dimensions_mod
[1632]18  IMPLICIT NONE
19  TYPE(distrib),POINTER :: d
20   
21    d=>distrib_vanleer
[2270]22    CALL allocate_u(wq,llm+1,nqtot,d)
[1632]23    CALL allocate_u(dzq,llm,d)
24    CALL allocate_u(dzqw,llm,d)
25    CALL allocate_u(adzqw,llm,d)
[4050]26    IF(ANY(tracers(:)%nqDescen > 0)) CALL allocate_u(Ratio,llm,nqtot,d)
[1632]27
28  END SUBROUTINE vlz_allocate
29 
30  SUBROUTINE vlz_switch_vanleer(dist)
[1810]31  USE allocate_field_mod
[1632]32  USE bands
[1823]33  USE parallel_lmdz
[2270]34  USE infotrac
[1632]35  IMPLICIT NONE
36    TYPE(distrib),INTENT(IN) :: dist
37 
38    CALL switch_u(wq,distrib_vanleer,dist)
39    CALL switch_u(dzq,distrib_vanleer,dist)
40    CALL switch_u(dzqw,distrib_vanleer,dist)
41    CALL switch_u(adzqw,distrib_vanleer,dist)
[4050]42    IF(ANY(tracers(:)%nqDescen > 0)) CALL switch_u(Ratio,distrib_vanleer,dist)
[1632]43
44  END SUBROUTINE vlz_switch_vanleer 
45 
46END MODULE vlz_mod 
Note: See TracBrowser for help on using the repository browser.