source: LMDZ6/branches/Amaury_dev/libf/dyn3dmem/groupe_mod.F90 @ 5325

Last change on this file since 5325 was 5182, checked in by abarral, 2 months ago

(WIP) Replace REPROBUS CPP KEY by logical
properly name modules

  • 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: 820 bytes
Line 
1MODULE groupe_mod
2
3  REAL,POINTER,SAVE :: zconvm(:,:,:)
4  REAL,POINTER,SAVE :: zconvmm(:,:,:)
5 
6CONTAINS
7
8  SUBROUTINE groupe_allocate
9  USE bands
10  USE allocate_field_mod
11  USE parallel_lmdz
12!  USE lmdz_infotrac
13  USE advtrac_mod, ONLY: advtrac_allocate
14USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm
15  USE lmdz_paramet
16  IMPLICIT NONE
17
18
19  TYPE(distrib),POINTER :: d
20
21    d=>distrib_caldyn
22    CALL allocate2d_u(zconvm,llm,d)
23    CALL allocate2d_u(zconvmm,llm,d)
24
25
26  END SUBROUTINE groupe_allocate
27 
28  SUBROUTINE groupe_switch_caldyn(dist)
29  USE allocate_field_mod
30  USE bands
31  USE parallel_lmdz
32  IMPLICIT NONE
33    TYPE(distrib),INTENT(IN) :: dist
34
35    CALL switch2d_u(zconvm,distrib_caldyn,dist)
36    CALL switch2d_u(zconvmm,distrib_caldyn,dist)
37
38  END SUBROUTINE groupe_switch_caldyn
39 
40
41 
42END MODULE groupe_mod 
Note: See TracBrowser for help on using the repository browser.