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