source: LMDZ6/branches/Amaury_dev/libf/dyn3dmem/dissip_mod.F90 @ 5214

Last change on this file since 5214 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: 905 bytes
Line 
1MODULE dissip_mod
2
3
4 
5CONTAINS
6
7  SUBROUTINE dissip_allocate
8  USE bands
9  USE allocate_field_mod
10  USE parallel_lmdz
11  USE lmdz_dimensions
12  USE lmdz_paramet
13  USE gradiv2_mod, ONLY: gradiv2_allocate
14  USE nxgraro2_mod, ONLY: nxgraro2_allocate
15  USE divgrad2_mod, ONLY: divgrad2_allocate
16  IMPLICIT NONE
17
18    CALL gradiv2_allocate
19    CALL nxgraro2_allocate
20    CALL divgrad2_allocate
21
22   
23  END SUBROUTINE dissip_allocate
24 
25  SUBROUTINE dissip_switch_dissip(dist)
26  USE allocate_field_mod
27  USE bands
28  USE parallel_lmdz
29  USE gradiv2_mod,ONLY: gradiv2_switch_dissip
30  USE nxgraro2_mod,ONLY: nxgraro2_switch_dissip
31  USE divgrad2_mod,ONLY: divgrad2_switch_dissip
32  IMPLICIT NONE
33    TYPE(distrib),INTENT(IN) :: dist
34
35    CALL gradiv2_switch_dissip(dist)
36    CALL nxgraro2_switch_dissip(dist)
37    CALL divgrad2_switch_dissip(dist)
38   
39  END SUBROUTINE dissip_switch_dissip
40 
41END MODULE dissip_mod 
Note: See TracBrowser for help on using the repository browser.