My Project
 All Classes Files Functions Variables Macros
laplacien_rot_loc.F
Go to the documentation of this file.
1  SUBROUTINE laplacien_rot_loc ( 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  USE mod_filtreg_p
14  IMPLICIT NONE
15 c
16 #include "dimensions.h"
17 #include "paramet.h"
18 #include "comgeom.h"
19 
20 c
21 c .......... variables en arguments .............
22 c
23  INTEGER klevel
24  REAL rotin(ijb_v:ije_v,klevel ), rotout( ijb_v:ije_v,klevel )
25 c
26 c .......... variables locales ................
27 c
28  REAL ghy(ijb_v:ije_v,klevel), ghx(ijb_u:ije_u,klevel)
29 c ........................................................
30 c
31 c
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 )
45 c
46  RETURN
47  END