LMDZ
nxgrarot.F
Go to the documentation of this file.
1 !
2 ! $Header$
3 !
4  SUBROUTINE nxgrarot (klevel,xcov, ycov, lr, grx, gry )
5 c ***********************************************************
6 c
7 c Auteur : P.Le Van
8 c
9 c lr
10 c calcul de ( nXgrad (rot) ) du vect. v ....
11 c
12 c xcov et ycov etant les compos. covariantes de v
13 c ***********************************************************
14 c xcov , ycov et lr sont des arguments d'entree pour le s-prog
15 c grx et gry sont des arguments de sortie pour le s-prog
16 c
17 c
18  IMPLICIT NONE
19 c
20 c
21 #include "dimensions.h"
22 #include "paramet.h"
23 #include "comdissipn.h"
24 #include "logic.h"
25 c
26  INTEGER klevel
27  REAL xcov( ip1jmp1,klevel ), ycov( ip1jm,klevel )
28  REAL grx( ip1jmp1,klevel ), gry( ip1jm,klevel )
29 c
30  REAL rot(ip1jm,llm)
31 
32  INTEGER l,ij,iter,lr
33 c
34 c
35 c
36  CALL scopy ( ip1jmp1*klevel, xcov, 1, grx, 1 )
37  CALL scopy ( ip1jm*klevel, ycov, 1, gry, 1 )
38 c
39  DO 10 iter = 1,lr
40  CALL rotat (klevel,grx, gry, rot )
41  CALL filtreg( rot, jjm, klevel, 2,1, .false.,2)
42  CALL nxgrad (klevel,rot, grx, gry )
43 c
44  DO 5 l = 1, klevel
45  DO 2 ij = 1, ip1jm
46  gry( ij,l ) = - gry( ij,l ) * crot
47  2 CONTINUE
48  DO 3 ij = 1, ip1jmp1
49  grx( ij,l ) = - grx( ij,l ) * crot
50  3 CONTINUE
51  5 CONTINUE
52 c
53  10 CONTINUE
54  RETURN
55  END
!$Header llmm1 INTEGER ip1jmp1
Definition: paramet.h:14
subroutine nxgrad(klevel, rot, x, y)
Definition: nxgrad.F:5
!$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
subroutine scopy(n, sx, incx, sy, incy)
Definition: cray.F:9
!$Header llmm1 INTEGER ip1jm
Definition: paramet.h:14
!$Header crot
Definition: comdissipn.h:11
!$Id itapm1 ENDIF!IM on interpole les champs sur les niveaux STD de pression!IM a chaque pas de temps de la physique c!positionnement de l argument logique a false c!pour ne pas recalculer deux fois la meme chose!c!a cet effet un appel a plevel_new a ete deplace c!a la fin de la serie d appels c!la boucle DO nlevSTD a ete internalisee c!dans d ou la creation de cette routine c c!CALL false
Definition: calcul_STDlev.h:26
subroutine filtreg(champ, nlat, nbniv, ifiltre, iaire, griscal, iter)
Definition: filtreg.F:6
subroutine nxgrarot(klevel, xcov, ycov, lr, grx, gry)
Definition: nxgrarot.F:5
subroutine rotat(klevel, x, y, rot)
Definition: rotat.F:5