source: LMDZ6/branches/Amaury_dev/libf/dyn3dmem/advtrac_mod.F90 @ 5209

Last change on this file since 5209 was 5159, checked in by abarral, 3 months ago

Put dimensions.h and paramet.h into 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: 754 bytes
Line 
1MODULE advtrac_mod
2
3  REAL,POINTER,SAVE :: finmasse(:,:)
4 
5CONTAINS
6
7  SUBROUTINE advtrac_allocate
8  USE bands
9  USE allocate_field_mod
10  USE parallel_lmdz
11  USE vlspltgen_mod
12USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm
13  USE lmdz_paramet
14  IMPLICIT NONE
15
16
17  TYPE(distrib),POINTER :: d
18   
19    d=>distrib_vanleer
20    CALL allocate_u(finmasse,llm,d)
21    CALL vlspltgen_allocate
22  END SUBROUTINE advtrac_allocate
23 
24  SUBROUTINE advtrac_switch_vanleer(dist)
25  USE allocate_field_mod
26  USE bands
27  USE parallel_lmdz
28  USE vlspltgen_mod
29  IMPLICIT NONE
30    TYPE(distrib),INTENT(IN) :: dist
31 
32    CALL switch_u(finmasse,distrib_vanleer,dist)
33
34    CALL vlspltgen_switch_vanleer(dist)
35
36  END SUBROUTINE advtrac_switch_vanleer 
37 
38END MODULE advtrac_mod 
Note: See TracBrowser for help on using the repository browser.