source: LMDZ5/trunk/libf/dyn3dmem/advtrac_mod.F90 @ 1810

Last change on this file since 1810 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: 739 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
11  USE infotrac
12  USE vlspltgen_mod
13  IMPLICIT NONE
14  INCLUDE "dimensions.h"
15  INCLUDE "paramet.h"
16  TYPE(distrib),POINTER :: d
17   
18    d=>distrib_vanleer
19    CALL allocate_u(finmasse,llm,d)
20    CALL vlspltgen_allocate
21  END SUBROUTINE advtrac_allocate
22 
23  SUBROUTINE advtrac_switch_vanleer(dist)
24  USE allocate_field_mod
25  USE bands
26  USE parallel
27  USE vlspltgen_mod
28  IMPLICIT NONE
29    TYPE(distrib),INTENT(IN) :: dist
30 
31    CALL switch_u(finmasse,distrib_vanleer,dist)
32
33    CALL vlspltgen_switch_vanleer(dist)
34
35  END SUBROUTINE advtrac_switch_vanleer 
36 
37END MODULE advtrac_mod 
Note: See TracBrowser for help on using the repository browser.