/[lmdze]/trunk/dyn3d/Dissipation/nxgraro2.f
ViewVC logotype

Contents of /trunk/dyn3d/Dissipation/nxgraro2.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26 - (show annotations)
Tue Mar 9 15:27:15 2010 UTC (14 years, 2 months ago) by guez
Original Path: trunk/libf/dyn3d/nxgraro2.f
File size: 1878 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/nxgraro2.F,v 1.1.1.1 2004/05/19 12:53:06 lmdzadmin Exp $
3 !
4 SUBROUTINE nxgraro2 (klevel,xcov, ycov, lr, grx, gry )
5 c
6 c P.Le Van .
7 c ***********************************************************
8 c lr
9 c calcul de ( nxgrad (rot) ) du vect. v ....
10 c
11 c xcov et ycov etant les compos. covariantes de v
12 c ***********************************************************
13 c xcov , ycov et lr sont des arguments d'entree pour le s-prog
14 c grx et gry sont des arguments de sortie pour le s-prog
15 c
16 c
17 use dimens_m
18 use paramet_m
19 use inidissip_m
20 IMPLICIT NONE
21 c
22 c
23 c ...... variables en arguments .......
24 c
25 INTEGER klevel
26 REAL xcov( ip1jmp1,klevel ), ycov( ip1jm,klevel )
27 REAL grx( ip1jmp1,klevel ), gry( ip1jm,klevel )
28 c
29 c ...... variables locales ........
30 c
31 REAL rot(ip1jm,llm) , signe, nugradrs
32 INTEGER l,ij,iter
33 integer, intent(in):: lr
34 c ........................................................
35 c
36 c
37 c
38 signe = (-1.)**lr
39 nugradrs = signe * crot
40 c
41 CALL SCOPY ( ip1jmp1* klevel, xcov, 1, grx, 1 )
42 CALL SCOPY ( ip1jm * klevel, ycov, 1, gry, 1 )
43 c
44 CALL rotatf ( klevel, grx, gry, rot )
45 c
46 CALL laplacien_rot ( klevel, rot, rot,grx,gry )
47
48 c
49 c ..... Iteration de l'operateur laplacien_rotgam .....
50 c
51 DO iter = 1, lr -2
52 CALL laplacien_rotgam ( klevel, rot, rot )
53 ENDDO
54 c
55 c
56 CALL filtreg( rot, jjm, klevel, 2,1, .FALSE.,1)
57 CALL nxgrad ( klevel, rot, grx, gry )
58 c
59 DO l = 1, klevel
60 DO ij = 1, ip1jm
61 gry( ij,l ) = gry( ij,l ) * nugradrs
62 ENDDO
63 DO ij = 1, ip1jmp1
64 grx( ij,l ) = grx( ij,l ) * nugradrs
65 ENDDO
66 ENDDO
67 c
68 RETURN
69 END

  ViewVC Help
Powered by ViewVC 1.1.21