source: LMDZ6/trunk/libf/dyn3d_common/laplacien.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 ( klevel, teta, divgra )
5  !
6  ! P. Le Van
7  !
8  !   ************************************************************
9  !    ....     calcul de  (div( grad ))   de   teta  .....
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 :: teta( ip1jmp1,klevel ), divgra( ip1jmp1,klevel )
28  !
29  !    ............     variables  locales      ..............
30  !
31  REAL :: ghy(ip1jm,llm), ghx(ip1jmp1,llm)
32  !    .......................................................
33
34
35  !
36  CALL SCOPY ( ip1jmp1 * klevel, teta, 1, divgra, 1 )
37
38  CALL filtreg( divgra,  jjp1, klevel,  2, 1, .TRUE., 1 )
39  CALL   grad ( klevel,divgra,   ghx , ghy              )
40  CALL  divergf ( klevel, ghx , ghy  , divgra           )
41
42  RETURN
43END SUBROUTINE laplacien
Note: See TracBrowser for help on using the repository browser.