Last change
on this file since 5440 was
5367,
checked in by abarral, 3 weeks ago
|
(WIP) Turn implicit into explicit declarations
|
-
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
|
Line | |
---|
1 | ! |
---|
2 | ! $Id: gr_dyn_fi_p.F90 5367 2024-12-03 09:40:13Z evignon $ |
---|
3 | ! |
---|
4 | #ifdef CPP_PARA |
---|
5 | SUBROUTINE gr_dyn_fi_p(nfield,im,jm,ngrid,pdyn,pfi) |
---|
6 | ! Interface with parallel physics, |
---|
7 | USE mod_interface_dyn_phys |
---|
8 | USE dimphy |
---|
9 | USE parallel_lmdz |
---|
10 | IMPLICIT NONE |
---|
11 | !======================================================================= |
---|
12 | ! passage d'un champ de la grille scalaire a la grille physique |
---|
13 | !======================================================================= |
---|
14 | |
---|
15 | !----------------------------------------------------------------------- |
---|
16 | ! declarations: |
---|
17 | ! ------------- |
---|
18 | |
---|
19 | INTEGER :: im,jm,ngrid,nfield |
---|
20 | REAL :: pdyn(im,jm,nfield) |
---|
21 | REAL :: pfi(ngrid,nfield) |
---|
22 | |
---|
23 | INTEGER :: i,j,ig,l |
---|
24 | |
---|
25 | !----------------------------------------------------------------------- |
---|
26 | ! calcul: |
---|
27 | ! ------- |
---|
28 | |
---|
29 | ! IF(ngrid.NE.2+(jm-2)*(im-1)) STOP 'probleme de dim' |
---|
30 | ! traitement des poles |
---|
31 | ! traitement des point normaux |
---|
32 | !$OMP DO SCHEDULE(STATIC,OMP_CHUNK) |
---|
33 | DO l=1,nfield |
---|
34 | DO ig=1,klon |
---|
35 | i=index_i(ig) |
---|
36 | j=index_j(ig) |
---|
37 | pfi(ig,l)=pdyn(i,j,l) |
---|
38 | ENDDO |
---|
39 | ENDDO |
---|
40 | !$OMP END DO NOWAIT |
---|
41 | ! of #ifdef CPP_PARA |
---|
42 | RETURN |
---|
43 | END SUBROUTINE gr_dyn_fi_p |
---|
44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.