Last change
on this file since 3436 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_dyn2d(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 correction bug TB18 |
---|
6 | c======================================================================= |
---|
7 | |
---|
8 | c----------------------------------------------------------------------- |
---|
9 | c declarations: |
---|
10 | c ------------- |
---|
11 | |
---|
12 | INTEGER im,jm,ngrid,nfield |
---|
13 | REAL pdyn(im,jm) |
---|
14 | REAL pfi(ngrid) |
---|
15 | |
---|
16 | INTEGER i,j,ifield,ig |
---|
17 | EXTERNAL SCOPY |
---|
18 | |
---|
19 | c----------------------------------------------------------------------- |
---|
20 | c calcul: |
---|
21 | c ------- |
---|
22 | c traitement des poles |
---|
23 | DO i=1,im ! lon |
---|
24 | pdyn(i,1)=pfi(1) |
---|
25 | pdyn(i,jm)=pfi(ngrid) |
---|
26 | ENDDO |
---|
27 | |
---|
28 | c traitement des point normaux |
---|
29 | DO j=2,jm-1 ! lat |
---|
30 | ig=2+(j-2)*(im-1) |
---|
31 | !CALL SCOPY(im-1,pfi(ig),1,pdyn(1,j),1) |
---|
32 | do i=1,im-1 |
---|
33 | pdyn(i,j)=pfi(ig+i-1) |
---|
34 | enddo |
---|
35 | pdyn(im,j)=pdyn(1,j) |
---|
36 | ENDDO |
---|
37 | |
---|
38 | RETURN |
---|
39 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.