Last change
on this file since 3855 was
709,
checked in by Laurent Fairhead, 18 years ago
|
Nouvelles versions de la dynamique YM
LF
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
994 bytes
|
Line | |
---|
1 | SUBROUTINE gr_dyn_fi_p(nfield,im,jm,ngrid,pdyn,pfi) |
---|
2 | USE dimphy |
---|
3 | USE PARALLEL |
---|
4 | IMPLICIT NONE |
---|
5 | c======================================================================= |
---|
6 | c passage d'un champ de la grille scalaire a la grille physique |
---|
7 | c======================================================================= |
---|
8 | |
---|
9 | c----------------------------------------------------------------------- |
---|
10 | c declarations: |
---|
11 | c ------------- |
---|
12 | |
---|
13 | INTEGER im,jm,ngrid,nfield |
---|
14 | REAL pdyn(im,jm,nfield) |
---|
15 | REAL pfi(ngrid,nfield) |
---|
16 | |
---|
17 | INTEGER i,j,ig,l |
---|
18 | |
---|
19 | c----------------------------------------------------------------------- |
---|
20 | c calcul: |
---|
21 | c ------- |
---|
22 | |
---|
23 | c IF(ngrid.NE.2+(jm-2)*(im-1)) STOP 'probleme de dim' |
---|
24 | c traitement des poles |
---|
25 | c traitement des point normaux |
---|
26 | c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) |
---|
27 | DO l=1,nfield |
---|
28 | DO ig=1,klon |
---|
29 | i=Liste_i(ig) |
---|
30 | j=Liste_j(ig) |
---|
31 | pfi(ig,l)=pdyn(i,j,l) |
---|
32 | ENDDO |
---|
33 | ENDDO |
---|
34 | c$OMP END DO NOWAIT |
---|
35 | RETURN |
---|
36 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.