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:
828 bytes
|
Line | |
---|
1 | MODULE nxgraro2_mod |
---|
2 | |
---|
3 | REAL,POINTER,SAVE :: grx( :,: ) |
---|
4 | REAL,POINTER,SAVE :: gry( :,: ) |
---|
5 | REAL,POINTER,SAVE :: rot( :,: ) |
---|
6 | |
---|
7 | CONTAINS |
---|
8 | |
---|
9 | SUBROUTINE nxgraro2_allocate |
---|
10 | USE bands |
---|
11 | USE allocate_field_mod |
---|
12 | USE parallel_lmdz |
---|
13 | USE lmdz_dimensions |
---|
14 | USE lmdz_paramet |
---|
15 | IMPLICIT NONE |
---|
16 | TYPE(distrib),POINTER :: d |
---|
17 | d=>distrib_dissip |
---|
18 | |
---|
19 | CALL allocate_u(grx,llm,d) |
---|
20 | CALL allocate_v(gry,llm,d) |
---|
21 | CALL allocate_v(rot,llm,d) |
---|
22 | |
---|
23 | |
---|
24 | END SUBROUTINE nxgraro2_allocate |
---|
25 | |
---|
26 | SUBROUTINE nxgraro2_switch_dissip(dist) |
---|
27 | USE allocate_field_mod |
---|
28 | USE bands |
---|
29 | USE parallel_lmdz |
---|
30 | IMPLICIT NONE |
---|
31 | TYPE(distrib),INTENT(IN) :: dist |
---|
32 | |
---|
33 | CALL switch_u(grx,distrib_dissip,dist) |
---|
34 | CALL switch_v(gry,distrib_dissip,dist) |
---|
35 | CALL switch_v(rot,distrib_dissip,dist) |
---|
36 | |
---|
37 | |
---|
38 | END SUBROUTINE nxgraro2_switch_dissip |
---|
39 | |
---|
40 | END MODULE nxgraro2_mod |
---|
Note: See
TracBrowser
for help on using the repository browser.