source: LMDZ5/trunk/libf/dyn3d_common/interpost.F @ 2597

Last change on this file since 2597 was 2597, checked in by Ehouarn Millour, 8 years ago

Cleanup in the dynamics: get rid of comconst.h, make it a module comconst_mod.
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: 880 bytes
Line 
1!
2! $Header$
3!
4        subroutine interpost(q,qppm)
5
6       implicit none
7
8
9      include "dimensions.h"
10      include "paramet.h"
11      include "comvert.h"
12      include "comgeom2.h"
13
14c Arguments   
15      real   q(iip1,jjp1,llm)
16      real   qppm(iim,jjp1,llm)
17c Local
18      integer l,i,j
19 
20c RE-INVERSION DES NIVEAUX
21c le programme ppm3d travaille avec une 3ème coordonnée inversée par rapport
22c de celle du LMDZ: z=1<=>niveau max, z=llm+1<=>surface
23c 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           
33c 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
Note: See TracBrowser for help on using the repository browser.