Last change
on this file since 1243 was
1056,
checked in by slebonnois, 11 years ago
|
SL: Titan runs ! see DOC/chantiers/commit_importants.log
|
File size:
575 bytes
|
Line | |
---|
1 | MODULE dimphy |
---|
2 | |
---|
3 | INTEGER,SAVE :: klon |
---|
4 | INTEGER,SAVE :: kdlon |
---|
5 | INTEGER,SAVE :: kfdia |
---|
6 | INTEGER,SAVE :: kidia |
---|
7 | INTEGER,SAVE :: klev |
---|
8 | INTEGER,SAVE :: klevp1 |
---|
9 | INTEGER,SAVE :: klevm1 |
---|
10 | |
---|
11 | !$OMP THREADPRIVATE(klon,kfdia,kidia,kdlon) |
---|
12 | |
---|
13 | CONTAINS |
---|
14 | |
---|
15 | SUBROUTINE init_dimphy(klon0,klev0) |
---|
16 | IMPLICIT NONE |
---|
17 | |
---|
18 | INTEGER, INTENT(in) :: klon0 |
---|
19 | INTEGER, INTENT(in) :: klev0 |
---|
20 | |
---|
21 | klon=klon0 |
---|
22 | |
---|
23 | kdlon=klon |
---|
24 | kidia=1 |
---|
25 | kfdia=klon |
---|
26 | !$OMP MASTER |
---|
27 | klev=klev0 |
---|
28 | klevp1=klev+1 |
---|
29 | klevm1=klev-1 |
---|
30 | !$OMP END MASTER |
---|
31 | |
---|
32 | END SUBROUTINE init_dimphy |
---|
33 | |
---|
34 | |
---|
35 | END MODULE dimphy |
---|
Note: See
TracBrowser
for help on using the repository browser.