source: LMDZ5/trunk/libf/dynlmdz_phylmd/gr_dyn_fi_p.F @ 2247

Last change on this file since 2247 was 2239, checked in by Ehouarn Millour, 9 years ago

Reorganizing physics/dynamics interface:

  • what is related to dynamics-physics interface is now in a seperate directory: dynlmdz_phy* for physics in phy*
  • 1d model and related dependencies (including a couple from "dynamics", set up as symbolic links) is now in subdirectory "dyn1d" of phy*.
  • "bibio" directory is now "misc" and should only contain autonomous utilities.
  • "cosp" is now a subdirectory of phylmd.

EM

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
RevLine 
[1279]1!
2! $Id: gr_dyn_fi_p.F 2239 2015-03-23 07:27:30Z lguez $
3!
[630]4      SUBROUTINE gr_dyn_fi_p(nfield,im,jm,ngrid,pdyn,pfi)
[2239]5#ifdef CPP_PARA
[1279]6! Interface with parallel physics,
[774]7      USE mod_interface_dyn_phys
[630]8      USE dimphy
[1823]9      USE parallel_lmdz
[630]10      IMPLICIT NONE
11c=======================================================================
12c   passage d'un champ de la grille scalaire a la grille physique
13c=======================================================================
14
15c-----------------------------------------------------------------------
16c   declarations:
17c   -------------
18
19      INTEGER im,jm,ngrid,nfield
20      REAL pdyn(im,jm,nfield)
21      REAL pfi(ngrid,nfield)
22
[764]23      INTEGER i,j,ig,l
[630]24
25c-----------------------------------------------------------------------
26c   calcul:
27c   -------
28
29c      IF(ngrid.NE.2+(jm-2)*(im-1)) STOP 'probleme de dim'
30c   traitement des poles
31c   traitement des point normaux
[764]32c$OMP DO SCHEDULE(STATIC,OMP_CHUNK)
33      DO l=1,nfield   
[630]34       DO ig=1,klon
[774]35         i=index_i(ig)
36         j=index_j(ig)
[764]37         pfi(ig,l)=pdyn(i,j,l)
[630]38       ENDDO
[764]39      ENDDO
40c$OMP END DO NOWAIT
[1279]41#endif
[2239]42! of #ifdef CPP_PARA
[630]43      RETURN
44      END
Note: See TracBrowser for help on using the repository browser.