source: LMDZ5/trunk/libf/dyn3dmem/groupe_mod.F90 @ 1814

Last change on this file since 1814 was 1810, checked in by Ehouarn Millour, 11 years ago

Updating makelmdz and create_makelmdz for :

1 parallelism
2 compilation with various versions of orchidee
3 compilation in 1D mode
4 some cleaning

Also some updates in dyn3dmem:
1 allocate_field_mod.f90 renamed allocate_field_mod.F90
2 module dimensions renamed dimensions_mod
3 module allocate_field renamed allocate_field

FH

File size: 786 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
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
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.