source: trunk/LMDZ.COMMON/libf/dyn3d_common/laplacien.F

Last change on this file was 1300, checked in by emillour, 10 years ago

Common dynamics:
Some updates to keep up with LMDZ5 Earth model evolution (up to LMDZ5 rev 1955).
Main change is the introduction of a "dyn3d_common" directory
to store files common to dyn3d and dyn3dpar.
See file "DOC/chantiers/commit_importants.log" for detailed list
of changes. These changes do not change results on test cases.
EM

File size: 1.1 KB
Line 
1!
2! $Header$
3!
4      SUBROUTINE laplacien ( klevel, teta, divgra )
5c
6c     P. Le Van
7c
8c   ************************************************************
9c    ....     calcul de  (div( grad ))   de   teta  .....
10c   ************************************************************
11c     klevel et teta  sont des arguments  d'entree pour le s-prog
12c      divgra     est  un argument  de sortie pour le s-prog
13c
14      IMPLICIT NONE
15c
16#include "dimensions.h"
17#include "paramet.h"
18#include "comgeom.h"
19
20c
21c    .........      variables  en arguments   ..............
22c
23      INTEGER klevel
24      REAL teta( ip1jmp1,klevel ), divgra( ip1jmp1,klevel )
25c
26c    ............     variables  locales      ..............
27c
28      REAL ghy(ip1jm,llm), ghx(ip1jmp1,llm)
29c    .......................................................
30
31
32c
33      CALL SCOPY ( ip1jmp1 * klevel, teta, 1, divgra, 1 )
34
35      CALL filtreg( divgra,  jjp1, klevel,  2, 1, .TRUE., 1 )
36      CALL   grad ( klevel,divgra,   ghx , ghy              )
37      CALL  divergf ( klevel, ghx , ghy  , divgra           )
38
39      RETURN
40      END
Note: See TracBrowser for help on using the repository browser.