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

Last change on this file since 5411 was 5159, checked in by abarral, 5 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
RevLine 
[1632]1MODULE dissip_mod
2
3
4 
5CONTAINS
6
7  SUBROUTINE dissip_allocate
8  USE bands
[1810]9  USE allocate_field_mod
[1823]10  USE parallel_lmdz
[5159]11  USE lmdz_dimensions
12  USE lmdz_paramet
[5101]13  USE gradiv2_mod, ONLY: gradiv2_allocate
14  USE nxgraro2_mod, ONLY: nxgraro2_allocate
15  USE divgrad2_mod, ONLY: divgrad2_allocate
[1632]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)
[1810]26  USE allocate_field_mod
[1632]27  USE bands
[1823]28  USE parallel_lmdz
[5101]29  USE gradiv2_mod,ONLY: gradiv2_switch_dissip
30  USE nxgraro2_mod,ONLY: nxgraro2_switch_dissip
31  USE divgrad2_mod,ONLY: divgrad2_switch_dissip
[1632]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.