source: LMDZ6/trunk/libf/dyn3d_common/laplacien_gam.f90 @ 5252

Last change on this file since 5252 was 5246, checked in by abarral, 7 weeks ago

Convert fixed-form to free-form sources .F -> .{f,F}90
(WIP: some .F remain, will be handled in subsequent commits)

  • 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
RevLine 
[524]1!
2! $Header$
3!
[5246]4SUBROUTINE laplacien_gam ( klevel, cuvsga, cvusga, unsaigam , &
5        unsapolnga, unsapolsga, teta, divgra )
[524]6
[5246]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"
[524]21
[5246]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  !    ......................................................
[524]34
[5246]35  !
36  !
37  !   ...  cvuscugam  = ( cvu/ cu ) ** (- gamdissip )
38  !   ...  cuvscvgam  = ( cuv/ cv ) ** (- gamdissip )  calcules dans inigeom  ..
39  !   ...  unsairegam =  1. /  aire ** (- gamdissip )
40  !
[524]41
[5246]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 )
[524]48
[5246]49  !
[524]50
51
[5246]52  RETURN
53END SUBROUTINE laplacien_gam
Note: See TracBrowser for help on using the repository browser.