source: LMDZ6/trunk/libf/dyn3d_common/interpost.f90 @ 5272

Last change on this file since 5272 was 5272, checked in by abarral, 23 hours ago

Turn paramet.h into a module

  • 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: 923 bytes
Line 
1!
2! $Header$
3!
4  subroutine interpost(q,qppm)
5
6   USE dimensions_mod, ONLY: iim, jjm, llm, ndm
7USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, &
8          ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm
9implicit none
10
11
12
13
14  include "comgeom2.h"
15
16  ! Arguments
17  real :: q(iip1,jjp1,llm)
18  real :: qppm(iim,jjp1,llm)
19  ! Local
20  integer :: l,i,j
21
22  ! RE-INVERSION DES NIVEAUX
23  ! le programme ppm3d travaille avec une 3�me coordonn�e invers�e par rapport
24  ! de celle du LMDZ: z=1<=>niveau max, z=llm+1<=>surface
25  ! On passe donc des niveaux de Lin � ceux du LMDZ
26
27    do l=1,llm
28      do j=1,jjp1
29         do i=1,iim
30             q(i,j,l)=qppm(i,j,llm-l+1)
31         enddo
32      enddo
33     enddo
34
35  ! BOUCLAGE EN LONGITUDE PAS EFFECTUE DANS PPM3D
36
37     do l=1,llm
38       do j=1,jjp1
39        q(iip1,j,l)=q(1,j,l)
40       enddo
41     enddo
42
43
44   return
45
46end subroutine interpost
Note: See TracBrowser for help on using the repository browser.