Last change
on this file since 5271 was
5271,
checked in by abarral, 24 hours ago
|
Move dimensions.h into a module
Nb: doesn't compile yet
|
-
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:
794 bytes
|
Line | |
---|
1 | ! |
---|
2 | ! $Header$ |
---|
3 | ! |
---|
4 | subroutine interpost(q,qppm) |
---|
5 | |
---|
6 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
7 | implicit none |
---|
8 | |
---|
9 | |
---|
10 | |
---|
11 | include "paramet.h" |
---|
12 | include "comgeom2.h" |
---|
13 | |
---|
14 | ! Arguments |
---|
15 | real :: q(iip1,jjp1,llm) |
---|
16 | real :: qppm(iim,jjp1,llm) |
---|
17 | ! Local |
---|
18 | integer :: l,i,j |
---|
19 | |
---|
20 | ! RE-INVERSION DES NIVEAUX |
---|
21 | ! le programme ppm3d travaille avec une 3�me coordonn�e invers�e par rapport |
---|
22 | ! de celle du LMDZ: z=1<=>niveau max, z=llm+1<=>surface |
---|
23 | ! On passe donc des niveaux de Lin � ceux du LMDZ |
---|
24 | |
---|
25 | do l=1,llm |
---|
26 | do j=1,jjp1 |
---|
27 | do i=1,iim |
---|
28 | q(i,j,l)=qppm(i,j,llm-l+1) |
---|
29 | enddo |
---|
30 | enddo |
---|
31 | enddo |
---|
32 | |
---|
33 | ! BOUCLAGE EN LONGITUDE PAS EFFECTUE DANS PPM3D |
---|
34 | |
---|
35 | do l=1,llm |
---|
36 | do j=1,jjp1 |
---|
37 | q(iip1,j,l)=q(1,j,l) |
---|
38 | enddo |
---|
39 | enddo |
---|
40 | |
---|
41 | |
---|
42 | return |
---|
43 | |
---|
44 | end subroutine interpost |
---|
Note: See
TracBrowser
for help on using the repository browser.