source: LMDZ6/branches/Amaury_dev/libf/dyn3d_common/laplacien_gam.f90 @ 5195

Last change on this file since 5195 was 5159, checked in by abarral, 5 months 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: 1.4 KB
Line 
1! $Header$
2
3SUBROUTINE laplacien_gam(klevel, cuvsga, cvusga, unsaigam, &
4        unsapolnga, unsapolsga, teta, divgra)
5
6  !  P. Le Van
7
8  !   ************************************************************
9
10  !  ....   calcul de  (div( grad ))   de   teta  .....
11  !   ************************************************************
12  !    klevel et teta  sont des arguments  d'entree pour le s-prog
13  !  divgra     est  un argument  de sortie pour le s-prog
14
15  USE lmdz_ssum_scopy, ONLY: scopy
16  USE lmdz_comgeom
17
18USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm
19  USE lmdz_paramet
20  IMPLICIT NONE
21  !
22
23
24
25
26  !    ............     variables  en arguments    ..........
27
28  INTEGER :: klevel
29  REAL :: teta(ip1jmp1, klevel), divgra(ip1jmp1, klevel)
30  REAL :: cuvsga(ip1jm), cvusga(ip1jmp1), unsaigam(ip1jmp1), &
31          unsapolnga, unsapolsga
32
33  !    ...........    variables  locales    .................
34
35  REAL :: ghy(ip1jm, llm), ghx(ip1jmp1, llm)
36  !    ......................................................
37
38
39
40  !   ...  cvuscugam  = ( cvu/ cu ) ** (- gamdissip )
41  !   ...  cuvscvgam  = ( cuv/ cv ) ** (- gamdissip )  calcules dans inigeom  ..
42  !   ...  unsairegam =  1. /  aire ** (- gamdissip )
43  !
44
45  CALL SCOPY (ip1jmp1 * klevel, teta, 1, divgra, 1)
46
47  CALL   grad (klevel, divgra, ghx, ghy)
48
49  CALL  diverg_gam (klevel, cuvsga, cvusga, unsaigam, &
50          unsapolnga, unsapolsga, ghx, ghy, divgra)
51
52  !
53
54  RETURN
55END SUBROUTINE laplacien_gam
Note: See TracBrowser for help on using the repository browser.