Last change
on this file since 5080 was
5066,
checked in by abarral, 4 months ago
|
Transform gr_dyn_fi_p.F, gr_fi_dyn_p.F, calfis_loc.F into free-form modules.
Reorder CPP_PARA keys in lmdz_call_calfis.F90, lmdz_calfis_loc.F90, lmdz_gr_dyn_fi_p.F90, lmdz_gr_fi_dyn_p.F90 to avoid implicit declarations.
Remove redundant -cpp -D.. on arch.
Correct "!OMP" -> "!$OMP"
Correct typo in lmdz_xios.F90, wstats.F90
|
-
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
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
990 bytes
|
Line | |
---|
1 | #ifdef CPP_PARA |
---|
2 | MODULE lmdz_gr_dyn_fi_p |
---|
3 | IMPLICIT NONE |
---|
4 | PRIVATE |
---|
5 | PUBLIC gr_dyn_fi_p |
---|
6 | CONTAINS |
---|
7 | |
---|
8 | SUBROUTINE gr_dyn_fi_p(nfield, im, jm, ngrid, pdyn, pfi) |
---|
9 | ! Interface with parallel physics, |
---|
10 | USE mod_interface_dyn_phys |
---|
11 | USE dimphy |
---|
12 | USE parallel_lmdz |
---|
13 | !======================================================================= |
---|
14 | ! passage d'un champ de la grille scalaire a la grille physique |
---|
15 | !======================================================================= |
---|
16 | |
---|
17 | INTEGER im, jm, ngrid, nfield |
---|
18 | REAL pdyn(im, jm, nfield) |
---|
19 | REAL pfi(ngrid, nfield) |
---|
20 | INTEGER i, j, ig, l |
---|
21 | |
---|
22 | ! IF(ngrid.NE.2+(jm-2)*(im-1)) STOP 'probleme de dim' |
---|
23 | ! traitement des poles |
---|
24 | ! traitement des point normaux |
---|
25 | !$OMP DO SCHEDULE(STATIC,OMP_CHUNK) |
---|
26 | DO l=1,nfield |
---|
27 | DO ig=1,klon |
---|
28 | i=index_i(ig) |
---|
29 | j=index_j(ig) |
---|
30 | pfi(ig,l)=pdyn(i,j,l) |
---|
31 | ENDDO |
---|
32 | ENDDO |
---|
33 | !$OMP END DO NOWAIT |
---|
34 | END SUBROUTINE gr_dyn_fi_p |
---|
35 | |
---|
36 | END MODULE lmdz_gr_dyn_fi_p |
---|
37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.