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

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

As discussed internally, remove generic ONLY: ... for new _mod_h 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
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  !
[5281]16  USE comgeom_mod_h
[5271]17  USE dimensions_mod, ONLY: iim, jjm, llm, ndm
[5285]18USE paramet_mod_h
[5271]19IMPLICIT NONE
[5246]20  !
[5271]21
[5272]22
[524]23
[5246]24  !
25  !    ............     variables  en arguments    ..........
26  !
27  INTEGER :: klevel
28  REAL :: teta( ip1jmp1,klevel ), divgra( ip1jmp1,klevel )
29  REAL :: cuvsga(ip1jm) , cvusga( ip1jmp1 ),unsaigam(ip1jmp1), &
30        unsapolnga, unsapolsga
31  !
32  !    ...........    variables  locales    .................
33  !
34  REAL :: ghy(ip1jm,llm), ghx(ip1jmp1,llm)
35  !    ......................................................
[524]36
[5246]37  !
38  !
39  !   ...  cvuscugam  = ( cvu/ cu ) ** (- gamdissip )
40  !   ...  cuvscvgam  = ( cuv/ cv ) ** (- gamdissip )  calcules dans inigeom  ..
41  !   ...  unsairegam =  1. /  aire ** (- gamdissip )
42  !
[524]43
[5246]44  CALL SCOPY ( ip1jmp1 * klevel, teta, 1, divgra, 1 )
45  !
46  CALL   grad ( klevel, divgra, ghx, ghy )
47  !
48  CALL  diverg_gam ( klevel, cuvsga, cvusga,  unsaigam  , &
49        unsapolnga, unsapolsga, ghx , ghy , divgra )
[524]50
[5246]51  !
[524]52
53
[5246]54  RETURN
55END SUBROUTINE laplacien_gam
Note: See TracBrowser for help on using the repository browser.