source: LMDZ6/trunk/libf/dyn3d_common/nxgrarot.f90 @ 5403

Last change on this file since 5403 was 5285, checked in by abarral, 6 weeks ago

As discussed internally, remove generic ONLY: ... for new _mod_h modules

  • 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
RevLine 
[524]1!
2! $Header$
3!
[5246]4SUBROUTINE nxgrarot (klevel,xcov, ycov, lr, grx, gry )
5  !   ***********************************************************
6  !
7  !    Auteur :  P.Le Van
8  !
9  !                             lr
10  !  calcul de  ( nXgrad (rot) )   du vect. v  ....
11  !
12  !   xcov et ycov  etant les compos. covariantes de  v
13  !   ***********************************************************
14  ! xcov , ycov et lr  sont des arguments  d'entree pour le s-prog
15  !  grx   et  gry     sont des arguments de sortie pour le s-prog
16  !
17  !
[5280]18  USE comdissipn_mod_h
[5271]19  USE dimensions_mod, ONLY: iim, jjm, llm, ndm
[5285]20USE paramet_mod_h
[5271]21IMPLICIT NONE
[5246]22  !
23  !
[5271]24
[5272]25
[5246]26  !
27  INTEGER :: klevel
28  REAL :: xcov( ip1jmp1,klevel ), ycov( ip1jm,klevel )
29  REAL :: grx( ip1jmp1,klevel ),  gry( ip1jm,klevel )
30  !
31  REAL :: rot(ip1jm,llm)
[524]32
[5246]33  INTEGER :: l,ij,iter,lr
34  !
35  !
36  !
37  CALL SCOPY ( ip1jmp1*klevel, xcov, 1, grx, 1 )
38  CALL SCOPY (  ip1jm*klevel, ycov, 1, gry, 1 )
39  !
40  DO 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  !
45  DO  l = 1, klevel
46  DO ij = 1, ip1jm
47  gry( ij,l ) = - gry( ij,l ) * crot
48  END DO
49  DO ij = 1, ip1jmp1
50  grx( ij,l ) = - grx( ij,l ) * crot
51  END DO
52  END DO
53  !
54  END DO
55  RETURN
56END SUBROUTINE nxgrarot
Note: See TracBrowser for help on using the repository browser.