/[lmdze]/trunk/libf/dyn3d/nxgrarot.f
ViewVC logotype

Contents of /trunk/libf/dyn3d/nxgrarot.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26 - (show annotations)
Tue Mar 9 15:27:15 2010 UTC (14 years, 3 months ago) by guez
File size: 1463 byte(s)
Moved variable "dtdiss" from module "comconst", variable "idissip"
from module "conf_gcm_m" and all variables from module "comdissipn" to
module "inidissip_m". "inidissip" creates file
"inidissip.csv". "idissip" is no longer read from a namelist. Removed
useless computation of "dtdiss" in procedure "iniconst".

1 !
2 ! $Header: /home/cvsroot/LMDZ4/libf/dyn3d/nxgrarot.F,v 1.1.1.1 2004/05/19 12:53:06 lmdzadmin Exp $
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 use dimens_m
19 use paramet_m
20 use logic
21 use inidissip_m
22 IMPLICIT NONE
23 c
24 c
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
33 integer, intent(in):: lr
34 c
35 c
36 c
37 CALL SCOPY ( ip1jmp1*klevel, xcov, 1, grx, 1 )
38 CALL SCOPY ( ip1jm*klevel, ycov, 1, gry, 1 )
39 c
40 DO 10 iter = 1,lr
41 CALL rotat (klevel,grx, gry, rot )
42 CALL filtreg( rot, jjm, klevel, 2,1, .false.,2)
43 CALL nxgrad (klevel,rot, grx, gry )
44 c
45 DO 5 l = 1, klevel
46 DO 2 ij = 1, ip1jm
47 gry( ij,l ) = - gry( ij,l ) * crot
48 2 CONTINUE
49 DO 3 ij = 1, ip1jmp1
50 grx( ij,l ) = - grx( ij,l ) * crot
51 3 CONTINUE
52 5 CONTINUE
53 c
54 10 CONTINUE
55 RETURN
56 END

  ViewVC Help
Powered by ViewVC 1.1.21