source: LMDZ5/trunk/libf/dyn3dmem/vlz_mod.F90 @ 5442

Last change on this file since 5442 was 2281, checked in by crisi, 10 years ago

Camille Risi: corrections of bugs for the isotopic part

  • 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.3 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(:,:)
[2270]7  ! CRisi: pour les traceurs: 
[2281]8  !REAL,POINTER,SAVE :: masseq(:,:,:)
[2270]9  REAL,POINTER,SAVE :: Ratio(:,:,:)
[1632]10 
11CONTAINS
12
13  SUBROUTINE vlz_allocate
14  USE bands
[1810]15  USE allocate_field_mod
[1823]16  USE parallel_lmdz
[1632]17  USE infotrac
[1810]18  USE dimensions_mod
[1632]19  IMPLICIT NONE
20  TYPE(distrib),POINTER :: d
21   
22    d=>distrib_vanleer
[2270]23    CALL allocate_u(wq,llm+1,nqtot,d)
[1632]24    CALL allocate_u(dzq,llm,d)
25    CALL allocate_u(dzqw,llm,d)
26    CALL allocate_u(adzqw,llm,d)
[2270]27    if (nqdesc_tot.gt.0) then
[2281]28    !CALL allocate_u(masseq,llm,nqtot,d)
[2270]29    CALL allocate_u(Ratio,llm,nqtot,d)
30    endif !if (nqdesc_tot.gt.0) then
[1632]31
32  END SUBROUTINE vlz_allocate
33 
34  SUBROUTINE vlz_switch_vanleer(dist)
[1810]35  USE allocate_field_mod
[1632]36  USE bands
[1823]37  USE parallel_lmdz
[2270]38  USE infotrac
[1632]39  IMPLICIT NONE
40    TYPE(distrib),INTENT(IN) :: dist
41 
42    CALL switch_u(wq,distrib_vanleer,dist)
43    CALL switch_u(dzq,distrib_vanleer,dist)
44    CALL switch_u(dzqw,distrib_vanleer,dist)
45    CALL switch_u(adzqw,distrib_vanleer,dist)
[2270]46    ! CRisi:
47    if (nqdesc_tot.gt.0) then   
[2281]48    !CALL switch_u(masseq,distrib_vanleer,dist)
[2270]49    CALL switch_u(Ratio,distrib_vanleer,dist)
50    endif !if (nqdesc_tot.gt.0) then     
[1632]51
52  END SUBROUTINE vlz_switch_vanleer 
53 
54END MODULE vlz_mod 
Note: See TracBrowser for help on using the repository browser.