source: dynamico_lmdz/aquaplanet/LMDZ5/libf/dyn3dmem/groupe_mod.F90 @ 3820

Last change on this file since 3820 was 3809, checked in by ymipsl, 10 years ago

Add LMDZ in aquaplanet configuration
YM

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.