source: LMDZ5/trunk/libf/dyn3dmem/laplacien_rot_loc.F

Last change on this file was 1907, checked in by lguez, 11 years ago

Added a copyright property to every file of the distribution, except
for the fcm files (which have their own copyright). Use svn propget on
a file to see the copyright. For instance:

$ svn propget copyright libf/phylmd/physiq.F90
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

Also added the files defining the CeCILL version 2 license, in French
and English, at the top of the LMDZ tree.

  • 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
File size: 1.3 KB
Line 
1      SUBROUTINE laplacien_rot_loc ( klevel, rotin, rotout,ghx,ghy )
2c
3c    P. Le Van
4c
5c   ************************************************************
6c    ...  calcul de  ( rotat x nxgrad )  du rotationnel rotin  .
7c   ************************************************************
8c
9c     klevel et rotin  sont des arguments  d'entree pour le s-prog
10c      rotout           est  un argument  de sortie pour le s-prog
11c
12      USE parallel_lmdz
13      USE mod_filtreg_p
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 rotin(ijb_v:ije_v,klevel ), rotout( ijb_v:ije_v,klevel )
25c
26c   ..........    variables   locales       ................
27c
28      REAL ghy(ijb_v:ije_v,klevel), ghx(ijb_u:ije_u,klevel)
29c   ........................................................
30c
31c
32      INTEGER :: ijb,ije,jjb,jje
33     
34      jjb=jj_begin-1
35      jje=jj_end+1
36     
37      if (pole_nord) jjb=jj_begin
38      if (pole_sud) jje=jj_end-1
39     
40      CALL  filtreg_p ( rotin ,jjb_v,jje_v,jjb,jje,jjm,
41     &                  klevel,2, 1, .FALSE., 1)
42
43      CALL   nxgrad_loc ( klevel, rotin,   ghx ,  ghy            )
44      CALL   rotatf_loc  ( klevel, ghx  ,   ghy , rotout         )
45c
46      RETURN
47      END
Note: See TracBrowser for help on using the repository browser.