Last change
on this file since 5416 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
|
Rev | Line | |
---|
[2] | 1 | SUBROUTINE gr_fi_dyn(nfield,ngrid,im,jm,pfi,pdyn) |
---|
| 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 i,j,ifield,ig |
---|
| 16 | EXTERNAL SCOPY |
---|
| 17 | |
---|
| 18 | c----------------------------------------------------------------------- |
---|
| 19 | c calcul: |
---|
| 20 | c ------- |
---|
| 21 | |
---|
| 22 | DO ifield=1,nfield |
---|
| 23 | c traitement des poles |
---|
| 24 | DO i=1,im |
---|
| 25 | pdyn(i,1,ifield)=pfi(1,ifield) |
---|
| 26 | pdyn(i,jm,ifield)=pfi(ngrid,ifield) |
---|
| 27 | ENDDO |
---|
| 28 | |
---|
| 29 | c traitement des point normaux |
---|
| 30 | DO j=2,jm-1 |
---|
| 31 | ig=2+(j-2)*(im-1) |
---|
| 32 | CALL SCOPY(im-1,pfi(ig,ifield),1,pdyn(1,j,ifield),1) |
---|
| 33 | pdyn(im,j,ifield)=pdyn(1,j,ifield) |
---|
| 34 | ENDDO |
---|
| 35 | ENDDO |
---|
| 36 | |
---|
| 37 | RETURN |
---|
| 38 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.