Last change
on this file was
3175,
checked in by emillour, 11 months ago
|
Pluto PCM:
Add the old Pluto LMDZ for reference (required prior step to making
an LMDZ.PLUTO using the same framework as the other physics packages).
TB+EM
|
File size:
1.0 KB
|
Line | |
---|
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 | DO ifield=1,nfield |
---|
22 | c traitement des poles |
---|
23 | DO i=1,im |
---|
24 | pdyn(i,1,ifield)=pfi(1,ifield) |
---|
25 | pdyn(i,jm,ifield)=pfi(ngrid,ifield) |
---|
26 | ENDDO |
---|
27 | |
---|
28 | c traitement des point normaux |
---|
29 | DO j=2,jm-1 |
---|
30 | ig=2+(j-2)*(im-1) |
---|
31 | CALL SCOPY(im-1,pfi(ig,ifield),1,pdyn(1,j,ifield),1) |
---|
32 | pdyn(im,j,ifield)=pdyn(1,j,ifield) |
---|
33 | ENDDO |
---|
34 | ENDDO |
---|
35 | |
---|
36 | RETURN |
---|
37 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.