source: LMDZ6/trunk/libf/dyn3dmem/dissip_mod.f90 @ 5407

Last change on this file since 5407 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: 917 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 dimensions_mod, ONLY: iim, jjm, llm, ndm
12  USE gradiv2_mod, ONLY : gradiv2_allocate
13  USE nxgraro2_mod, ONLY : nxgraro2_allocate
14  USE divgrad2_mod, ONLY : divgrad2_allocate
15  IMPLICIT NONE
16
17    CALL gradiv2_allocate
18    CALL nxgraro2_allocate
19    CALL divgrad2_allocate
20
21   
22  END SUBROUTINE dissip_allocate
23 
24  SUBROUTINE dissip_switch_dissip(dist)
25  USE allocate_field_mod
26  USE bands
27  USE parallel_lmdz
28  USE gradiv2_mod,ONLY : gradiv2_switch_dissip
29  USE nxgraro2_mod,ONLY : nxgraro2_switch_dissip
30  USE divgrad2_mod,ONLY : divgrad2_switch_dissip
31  IMPLICIT NONE
32    TYPE(distrib),INTENT(IN) :: dist
33
34    CALL gradiv2_switch_dissip(dist)
35    CALL nxgraro2_switch_dissip(dist)
36    CALL divgrad2_switch_dissip(dist)
37   
38  END SUBROUTINE dissip_switch_dissip
39 
40END MODULE dissip_mod 
Note: See TracBrowser for help on using the repository browser.