source: LMDZ5/trunk/libf/dyn3dpar/nxgrarot.F @ 1907

Last change on this file since 1907 was 1907, checked in by lguez, 10 years ago

Added a copyright property to every file of the distribution, except
for the fcm files (which have their own copyright). Use svn propget on
a file to see the copyright. For instance:

$ svn propget copyright libf/phylmd/physiq.F90
Name of program: LMDZ
Creation date: 1984
Version: LMDZ5
License: CeCILL version 2
Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
See the license file in the root directory

Also added the files defining the CeCILL version 2 license, in French
and English, at the top of the LMDZ tree.

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1!
2! $Header$
3!
4      SUBROUTINE nxgrarot (klevel,xcov, ycov, lr, grx, gry )
5c   ***********************************************************
6c
7c    Auteur :  P.Le Van 
8c
9c                                 lr
10c      calcul de  ( nXgrad (rot) )   du vect. v  ....
11c
12c       xcov et ycov  etant les compos. covariantes de  v
13c   ***********************************************************
14c     xcov , ycov et lr  sont des arguments  d'entree pour le s-prog
15c      grx   et  gry     sont des arguments de sortie pour le s-prog
16c
17c
18      IMPLICIT NONE
19c
20c
21#include "dimensions.h"
22#include "paramet.h"
23#include "comdissipn.h"
24#include "logic.h"
25c
26      INTEGER klevel
27      REAL xcov( ip1jmp1,klevel ), ycov( ip1jm,klevel )
28      REAL  grx( ip1jmp1,klevel ),  gry( ip1jm,klevel )
29c
30      REAL rot(ip1jm,llm)
31
32      INTEGER l,ij,iter,lr
33c
34c
35c
36      CALL SCOPY ( ip1jmp1*klevel, xcov, 1, grx, 1 )
37      CALL SCOPY (  ip1jm*klevel, ycov, 1, gry, 1 )
38c
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 )
43c
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
52c
53  10  CONTINUE
54      RETURN
55      END
Note: See TracBrowser for help on using the repository browser.