LMDZ
laplacien_rotgam_loc.F
Go to the documentation of this file.
1  SUBROUTINE laplacien_rotgam_loc ( klevel, rotin, rotout )
2 c
3 c P. Le Van
4 c
5 c ************************************************************
6 c ... calcul de (rotat x nxgrad)_gam du rotationnel rotin ..
7 c ************************************************************
8 c klevel et teta sont des arguments d'entree pour le s-prog
9 c divgra est un argument de sortie pour le s-prog
10 c
11  USE parallel_lmdz
12  IMPLICIT NONE
13 c
14 #include "dimensions.h"
15 #include "paramet.h"
16 #include "comgeom.h"
17 
18 c
19 c ............. variables en arguments ...........
20 c
21  INTEGER klevel
22  REAL rotin( ijb_v:ije_v,klevel ), rotout( ijb_v:ije_v,klevel )
23 c
24 c ............ variables locales ...............
25 c
26  INTEGER l, ij
27  REAL ghy(ijb_v:ije_v,llm), ghx(ijb_u:ije_u,llm)
28 c ........................................................
29 c
30  INTEGER :: ijb,ije
31 
32 c
33 
34  CALL nxgrad_gam_loc ( klevel, rotin, ghx , ghy )
35  CALL rotat_nfil_loc ( klevel, ghx , ghy , rotout )
36 c
37  ijb=ij_begin
38  ije=ij_end
39  if(pole_sud) ije=ij_end-iip1
40 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK)
41  DO l = 1, klevel
42  DO ij = ijb, ije
43  rotout(ij,l) = rotout(ij,l) * unsairz_gam(ij)
44  ENDDO
45  ENDDO
46 c$OMP END DO NOWAIT
47  RETURN
48  END
integer, save ij_end
logical, save pole_sud
!$Id Turb_fcg_gcssold get_uvd hqturb_gcssold endif!large scale llm day day1 day day1 *dt_toga endif!time annee_ref dt_toga u_toga vq_toga w_prof vq_prof llm day day1 day day1 *dt_dice endif!time annee_ref dt_dice swup_dice vg_dice omega_dice tg_prof vg_profd w_profd omega_profd!do llm!print llm l llm
integer, save ijb_v
subroutine laplacien_rotgam_loc(klevel, rotin, rotout)
!$Header!CDK comgeom COMMON comgeom unsapolnga2 unsairz_gam
Definition: comgeom.h:25
integer, save ij_begin
integer, save ije_v
subroutine rotat_nfil_loc(klevel, x, y, rot)
Definition: rotat_nfil_loc.F:2
subroutine nxgrad_gam_loc(klevel, rot, x, y)
Definition: nxgrad_gam_loc.F:2
integer, save ije_u
integer, save ijb_u