source: LMDZ6/trunk/libf/dyn3dmem/advtrac_mod.f90 @ 5280

Last change on this file since 5280 was 5272, checked in by abarral, 7 weeks ago

Turn paramet.h into a module

  • 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: 884 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
12  USE dimensions_mod, ONLY: iim, jjm, llm, ndm
13USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, &
14          ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm
15IMPLICIT NONE
16
17
18  TYPE(distrib),POINTER :: d
19   
20    d=>distrib_vanleer
21    CALL allocate_u(finmasse,llm,d)
22    CALL vlspltgen_allocate
23  END SUBROUTINE advtrac_allocate
24 
25  SUBROUTINE advtrac_switch_vanleer(dist)
26  USE allocate_field_mod
27  USE bands
28  USE parallel_lmdz
29  USE vlspltgen_mod
30  IMPLICIT NONE
31    TYPE(distrib),INTENT(IN) :: dist
32 
33    CALL switch_u(finmasse,distrib_vanleer,dist)
34
35    CALL vlspltgen_switch_vanleer(dist)
36
37  END SUBROUTINE advtrac_switch_vanleer 
38 
39END MODULE advtrac_mod 
Note: See TracBrowser for help on using the repository browser.