source: LMDZ6/branches/LMDZ-tracers/libf/dyn3dmem/vlz_mod.F90 @ 3999

Last change on this file since 3999 was 3891, checked in by dcugnet, 4 years ago
  • Bugs corrections:
    • sequential gcm fixed
    • parallel gcm compilation fixed ; to be tested
  • Some generic operations moved from infotrac to readTracFile
  • Fixed algebrical reduction routine, used in the isotopes parameters file.
  • Additional component "comp" in the tracers descriptor derived type "tra",

specifying the model component name(s) (cf. tracers sections) it belongs.

  • isotopes class selection tool fixed.
  • 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
[3852]17  USE infotrac, ONLY: nqtot, tracers
[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)
[3891]27    IF(ANY(tracers(:)%ndesc > 0)) THEN
[3852]28      !CALL allocate_u(masseq,llm,nqtot,d)
29      CALL allocate_u(Ratio,llm,nqtot,d)
30    END IF
[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:
[3891]47    IF(ANY(tracers(:)%ndesc > 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.