Last change
on this file since 1874 was
1823,
checked in by Ehouarn Millour, 11 years ago
|
Remplacement de parallel.F90 (en conflit avec orchidée) par parallel_lmdz.F90.
UG
.........................................
Renaming parallel.F90 (conflicting with orchidée) into parallel_lmdz.F90.
UG
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.1 KB
|
Rev | Line | |
---|
[1279] | 1 | ! |
---|
| 2 | ! $Id: gr_dyn_fi_p.F 1823 2013-07-31 10:38:37Z fairhead $ |
---|
| 3 | ! |
---|
[630] | 4 | SUBROUTINE gr_dyn_fi_p(nfield,im,jm,ngrid,pdyn,pfi) |
---|
[1615] | 5 | #ifdef CPP_PHYS |
---|
[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 |
---|
| 11 | c======================================================================= |
---|
| 12 | c passage d'un champ de la grille scalaire a la grille physique |
---|
| 13 | c======================================================================= |
---|
| 14 | |
---|
| 15 | c----------------------------------------------------------------------- |
---|
| 16 | c declarations: |
---|
| 17 | c ------------- |
---|
| 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 | |
---|
| 25 | c----------------------------------------------------------------------- |
---|
| 26 | c calcul: |
---|
| 27 | c ------- |
---|
| 28 | |
---|
| 29 | c IF(ngrid.NE.2+(jm-2)*(im-1)) STOP 'probleme de dim' |
---|
| 30 | c traitement des poles |
---|
| 31 | c traitement des point normaux |
---|
[764] | 32 | c$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 |
---|
| 40 | c$OMP END DO NOWAIT |
---|
[1279] | 41 | #endif |
---|
[1615] | 42 | ! of #ifdef CPP_PHYS |
---|
[630] | 43 | RETURN |
---|
| 44 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.