My Project
 All Classes Files Functions Variables Macros
laplacien_rot_p.F
Go to the documentation of this file.
1  SUBROUTINE laplacien_rot_p ( klevel, rotin, rotout,ghx,ghy )
2 c
3 c P. Le Van
4 c
5 c ************************************************************
6 c ... calcul de ( rotat x nxgrad ) du rotationnel rotin .
7 c ************************************************************
8 c
9 c klevel et rotin sont des arguments d'entree pour le s-prog
10 c rotout est un argument de sortie pour le s-prog
11 c
12  USE parallel
13  IMPLICIT NONE
14 c
15 #include "dimensions.h"
16 #include "paramet.h"
17 #include "comgeom.h"
18 
19 c
20 c .......... variables en arguments .............
21 c
22  INTEGER klevel
23  REAL rotin( ip1jm,klevel ), rotout( ip1jm,klevel )
24 c
25 c .......... variables locales ................
26 c
27  REAL ghy(ip1jm,klevel), ghx(ip1jmp1,klevel)
28 c ........................................................
29 c
30 c
31  INTEGER :: ijb,ije,jjb,jje
32 
33  jjb=jj_begin-1
34  jje=jj_end+1
35 
36  if (pole_nord) jjb=jj_begin
37  if (pole_sud) jje=jj_end-1
38 
39  CALL filtreg_p( rotin ,jjb,jje,jjm, klevel,2, 1, .false., 1)
40 
41  CALL nxgrad_p( klevel, rotin, ghx , ghy )
42  CALL rotatf_p( klevel, ghx , ghy , rotout )
43 c
44  RETURN
45  END