Last change
on this file since 5224 was
1146,
checked in by Laurent Fairhead, 16 years ago
|
Réintegration dans le tronc des modifications issues de la branche LMDZ-dev
comprises entre la révision 1074 et 1145
Validation: une simulation de 1 jour en séquentiel sur PC donne les mêmes
résultats entre la trunk et la dev
LF
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
720 bytes
|
Rev | Line | |
---|
[776] | 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 | INTEGER,SAVE :: kflev |
---|
| 11 | |
---|
| 12 | !$OMP THREADPRIVATE(klon,kfdia,kidia,kdlon) |
---|
| 13 | REAL,save,allocatable,dimension(:) :: zmasq |
---|
| 14 | !$OMP THREADPRIVATE(zmasq) |
---|
| 15 | |
---|
| 16 | CONTAINS |
---|
| 17 | |
---|
[1146] | 18 | SUBROUTINE Init_dimphy(klon0,klev0) |
---|
[776] | 19 | IMPLICIT NONE |
---|
| 20 | |
---|
| 21 | INTEGER, INTENT(in) :: klon0 |
---|
| 22 | INTEGER, INTENT(in) :: klev0 |
---|
| 23 | |
---|
| 24 | klon=klon0 |
---|
| 25 | |
---|
| 26 | kdlon=klon |
---|
| 27 | kidia=1 |
---|
| 28 | kfdia=klon |
---|
| 29 | !$OMP MASTER |
---|
| 30 | klev=klev0 |
---|
| 31 | klevp1=klev+1 |
---|
| 32 | klevm1=klev-1 |
---|
| 33 | kflev=klev |
---|
| 34 | !$OMP END MASTER |
---|
| 35 | ALLOCATE(zmasq(klon)) |
---|
| 36 | |
---|
| 37 | END SUBROUTINE Init_dimphy |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | END MODULE dimphy |
---|
Note: See
TracBrowser
for help on using the repository browser.