source: LMDZ6/trunk/libf/dyn3d_common/laplacien_rotgam.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: 1.2 KB
Line 
1!
2! $Header$
3!
4SUBROUTINE laplacien_rotgam ( klevel, rotin, rotout )
5  !
6  ! P. Le Van
7  !
8  !   ************************************************************
9  !   ... calcul de  (rotat x nxgrad)_gam  du rotationnel rotin ..
10  !   ************************************************************
11  ! klevel et teta  sont des arguments  d'entree pour le s-prog
12  !  divgra     est  un argument  de sortie pour le s-prog
13  !
14  USE dimensions_mod, ONLY: iim, jjm, llm, ndm
15USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, &
16          ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm
17IMPLICIT NONE
18  !
19
20
21  INCLUDE "comgeom.h"
22
23  !
24  !    .............   variables  en  arguments    ...........
25  !
26  INTEGER :: klevel
27  REAL :: rotin( ip1jm,klevel ), rotout( ip1jm,klevel )
28  !
29  !   ............     variables   locales     ...............
30  !
31  INTEGER :: l, ij
32  REAL :: ghy(ip1jm,llm), ghx(ip1jmp1,llm)
33  !   ........................................................
34  !
35  !
36
37  CALL   nxgrad_gam ( klevel, rotin,   ghx ,   ghy  )
38  CALL   rotat_nfil ( klevel, ghx  ,   ghy , rotout )
39  !
40  DO l = 1, klevel
41    DO ij = 1, ip1jm
42     rotout(ij,l) = rotout(ij,l) * unsairz_gam(ij)
43    ENDDO
44  ENDDO
45
46  RETURN
47END SUBROUTINE laplacien_rotgam
Note: See TracBrowser for help on using the repository browser.