source: LMDZ6/branches/Amaury_dev/libf/dyn3d_common/interpost.f90

Last change on this file was 5159, checked in by abarral, 7 weeks ago

Put dimensions.h and paramet.h into modules

  • 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: 781 bytes
RevLine 
[524]1! $Header$
[5099]2
[5136]3SUBROUTINE interpost(q, qppm)
4  USE lmdz_comgeom2
[524]5
[5159]6USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm
7  USE lmdz_paramet
[5136]8  IMPLICIT NONE
[524]9
10
[5159]11
12
[5105]13  ! Arguments
[5136]14  REAL :: q(iip1, jjp1, llm)
15  REAL :: qppm(iim, jjp1, llm)
[5105]16  ! Local
[5136]17  INTEGER :: l, i, j
[524]18
[5105]19  ! RE-INVERSION DES NIVEAUX
20  ! le programme ppm3d travaille avec une 3ème coordonnée inversée par rapport
21  ! de celle du LMDZ: z=1<=>niveau max, z=llm+1<=>surface
22  ! On passe donc des niveaux de Lin à ceux du LMDZ
23
[5158]24  DO l = 1, llm
25    DO j = 1, jjp1
26      DO i = 1, iim
[5136]27        q(i, j, l) = qppm(i, j, llm - l + 1)
[5105]28      enddo
[5136]29    enddo
30  enddo
[524]31
[5105]32  ! BOUCLAGE EN LONGITUDE PAS EFFECTUE DANS PPM3D
33
[5158]34  DO l = 1, llm
35    DO j = 1, jjp1
[5136]36      q(iip1, j, l) = q(1, j, l)
37    enddo
38  enddo
[5105]39
[5136]40  return
[5105]41
[5116]42END SUBROUTINE interpost
Note: See TracBrowser for help on using the repository browser.