source: LMDZ6/branches/Amaury_dev/libf/dyn3dmem/divgrad2_mod.F90 @ 5225

Last change on this file since 5225 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: 619 bytes
Line 
1MODULE divgrad2_mod
2
3  REAL,POINTER,SAVE ::  divgra( :,: )
4 
5CONTAINS
6
7  SUBROUTINE divgrad2_allocate
8  USE bands
9  USE allocate_field_mod
10  USE parallel_lmdz
11  USE lmdz_dimensions
12  USE lmdz_paramet
13  IMPLICIT NONE
14    TYPE(distrib),POINTER :: d
15    d=>distrib_dissip
16
17    CALL allocate_u(divgra,llm,d)
18
19   
20  END SUBROUTINE divgrad2_allocate
21 
22  SUBROUTINE divgrad2_switch_dissip(dist)
23  USE allocate_field_mod
24  USE bands
25  USE parallel_lmdz
26  IMPLICIT NONE
27    TYPE(distrib),INTENT(IN) :: dist
28
29    CALL switch_u(divgra,distrib_dissip,dist)
30
31
32  END SUBROUTINE divgrad2_switch_dissip
33 
34END MODULE divgrad2_mod 
Note: See TracBrowser for help on using the repository browser.