source: LMDZ6/trunk/libf/dyn3dmem/groupe_mod.F90 @ 3766

Last change on this file since 3766 was 1907, checked in by lguez, 11 years ago

Added a copyright property to every file of the distribution, except
for the fcm files (which have their own copyright). Use svn propget on
a file to see the copyright. For instance:

$ svn propget copyright libf/phylmd/physiq.F90
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

Also added the files defining the CeCILL version 2 license, in French
and English, at the top of the LMDZ tree.

  • 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.