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

Last change on this file since 5272 was 5272, checked in by abarral, 3 months 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
RevLine 
[1632]1MODULE advtrac_mod
2
3  REAL,POINTER,SAVE :: finmasse(:,:)
4 
5CONTAINS
6
7  SUBROUTINE advtrac_allocate
8  USE bands
[1810]9  USE allocate_field_mod
[1823]10  USE parallel_lmdz
[1632]11  USE vlspltgen_mod
[5271]12  USE dimensions_mod, ONLY: iim, jjm, llm, ndm
[5272]13USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, &
14          ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm
[5271]15IMPLICIT NONE
16
[5272]17
[1632]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)
[1810]26  USE allocate_field_mod
[1632]27  USE bands
[1823]28  USE parallel_lmdz
[1632]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.