Last change
on this file since 507 was
2,
checked in by lmdz, 25 years ago
|
Initial revision
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.0 KB
|
Line | |
---|
1 | SUBROUTINE gr_dyn_fi(nfield,im,jm,ngrid,pdyn,pfi) |
---|
2 | IMPLICIT NONE |
---|
3 | c======================================================================= |
---|
4 | c passage d'un champ de la grille scalaire a la grille physique |
---|
5 | c======================================================================= |
---|
6 | |
---|
7 | c----------------------------------------------------------------------- |
---|
8 | c declarations: |
---|
9 | c ------------- |
---|
10 | |
---|
11 | INTEGER im,jm,ngrid,nfield |
---|
12 | REAL pdyn(im,jm,nfield) |
---|
13 | REAL pfi(ngrid,nfield) |
---|
14 | |
---|
15 | INTEGER j,ifield,ig |
---|
16 | EXTERNAL SCOPY |
---|
17 | |
---|
18 | c----------------------------------------------------------------------- |
---|
19 | c calcul: |
---|
20 | c ------- |
---|
21 | |
---|
22 | IF(ngrid.NE.2+(jm-2)*(im-1)) STOP 'probleme de dim' |
---|
23 | c traitement des poles |
---|
24 | CALL SCOPY(nfield,pdyn,im*jm,pfi,ngrid) |
---|
25 | CALL SCOPY(nfield,pdyn(1,jm,1),im*jm,pfi(ngrid,1),ngrid) |
---|
26 | |
---|
27 | c traitement des point normaux |
---|
28 | DO ifield=1,nfield |
---|
29 | DO j=2,jm-1 |
---|
30 | ig=2+(j-2)*(im-1) |
---|
31 | CALL SCOPY(im-1,pdyn(1,j,ifield),1,pfi(ig,ifield),1) |
---|
32 | ENDDO |
---|
33 | ENDDO |
---|
34 | |
---|
35 | RETURN |
---|
36 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.