source: LMDZ4/branches/LMDZ4_par_0/libf/dyn3dpar/gr_dyn_fi_p.F @ 633

Last change on this file since 633 was 630, checked in by Laurent Fairhead, 19 years ago

Import d'une version parallele de la dynamique YM
LF

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 898 bytes
Line 
1      SUBROUTINE gr_dyn_fi_p(nfield,im,jm,ngrid,pdyn,pfi)
2      USE dimphy
3      IMPLICIT NONE
4c=======================================================================
5c   passage d'un champ de la grille scalaire a la grille physique
6c=======================================================================
7
8c-----------------------------------------------------------------------
9c   declarations:
10c   -------------
11
12      INTEGER im,jm,ngrid,nfield
13      REAL pdyn(im,jm,nfield)
14      REAL pfi(ngrid,nfield)
15
16      INTEGER i,j,ig
17
18c-----------------------------------------------------------------------
19c   calcul:
20c   -------
21
22c      IF(ngrid.NE.2+(jm-2)*(im-1)) STOP 'probleme de dim'
23c   traitement des poles
24c   traitement des point normaux
25
26       DO ig=1,klon
27         i=Liste_i(ig)
28         j=Liste_j(ig)
29         pfi(ig,1:nfield)=pdyn(i,j,1:nfield)
30       ENDDO
31
32
33      RETURN
34      END
Note: See TracBrowser for help on using the repository browser.