source: LMDZ5/branches/testing/libf/dyn3dmem/groupe_mod.F90 @ 2787

Last change on this file since 2787 was 1910, checked in by Laurent Fairhead, 11 years ago

Merged trunk changes r1860:1909 into testing branch

  • 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: 796 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 infotrac
13  USE advtrac_mod, ONLY : advtrac_allocate
14  IMPLICIT NONE
15  INCLUDE "dimensions.h"
16  INCLUDE "paramet.h"
17  TYPE(distrib),POINTER :: d
18
19    d=>distrib_caldyn
20    CALL allocate2d_u(zconvm,llm,d)
21    CALL allocate2d_u(zconvmm,llm,d)
22
23
24  END SUBROUTINE groupe_allocate
25 
26  SUBROUTINE groupe_switch_caldyn(dist)
27  USE allocate_field_mod
28  USE bands
29  USE parallel_lmdz
30  IMPLICIT NONE
31    TYPE(distrib),INTENT(IN) :: dist
32
33    CALL switch2d_u(zconvm,distrib_caldyn,dist)
34    CALL switch2d_u(zconvmm,distrib_caldyn,dist)
35
36  END SUBROUTINE groupe_switch_caldyn
37 
38
39 
40END MODULE groupe_mod 
Note: See TracBrowser for help on using the repository browser.