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

Last change on this file since 5105 was 5105, checked in by abarral, 8 weeks ago

Replace 1DUTILS.h by module lmdz_1dutils.f90
Replace 1DConv.h by module lmdz_old_1dconv.f90 (it's only used by old_* files)
Convert *.F to *.f90
Fix gradsdef.h formatting
Remove unnecessary "RETURN" at the end of functions/subroutines

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