source: LMDZ4/trunk/libf/dyn3dpar/laplacien_rot_p.F @ 630

Last change on this file since 630 was 630, checked in by Laurent Fairhead, 19 years ago

Import d'une version parallele de la dynamique YM
LF

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1      SUBROUTINE laplacien_rot_p ( 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
13      IMPLICIT NONE
14c
15#include "dimensions.h"
16#include "paramet.h"
17#include "comgeom.h"
18
19c
20c   ..........    variables  en  arguments     .............
21c
22      INTEGER klevel
23      REAL rotin( ip1jm,klevel ), rotout( ip1jm,klevel )
24c
25c   ..........    variables   locales       ................
26c
27      REAL ghy(ip1jm,klevel), ghx(ip1jmp1,klevel)
28c   ........................................................
29c
30      EXTERNAL  filtreg, nxgrad, rotatf
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,jje,jjm, klevel,2, 1, .FALSE., 1)
41
42      CALL   nxgrad_p ( klevel, rotin,   ghx ,  ghy               )
43      CALL   rotatf_p  ( klevel, ghx  ,   ghy , rotout             )
44c
45      RETURN
46      END
Note: See TracBrowser for help on using the repository browser.