[524] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
[5246] | 4 | SUBROUTINE 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 | ! |
---|
| 18 | IMPLICIT NONE |
---|
| 19 | ! |
---|
| 20 | ! |
---|
| 21 | include "dimensions.h" |
---|
| 22 | include "paramet.h" |
---|
| 23 | include "comdissipn.h" |
---|
| 24 | ! |
---|
| 25 | INTEGER :: klevel |
---|
| 26 | REAL :: xcov( ip1jmp1,klevel ), ycov( ip1jm,klevel ) |
---|
| 27 | REAL :: grx( ip1jmp1,klevel ), gry( ip1jm,klevel ) |
---|
| 28 | ! |
---|
| 29 | REAL :: rot(ip1jm,llm) |
---|
[524] | 30 | |
---|
[5246] | 31 | INTEGER :: l,ij,iter,lr |
---|
| 32 | ! |
---|
| 33 | ! |
---|
| 34 | ! |
---|
| 35 | CALL SCOPY ( ip1jmp1*klevel, xcov, 1, grx, 1 ) |
---|
| 36 | CALL SCOPY ( ip1jm*klevel, ycov, 1, gry, 1 ) |
---|
| 37 | ! |
---|
| 38 | DO iter = 1,lr |
---|
| 39 | CALL rotat (klevel,grx, gry, rot ) |
---|
| 40 | CALL filtreg( rot, jjm, klevel, 2,1, .false.,2) |
---|
| 41 | CALL nxgrad (klevel,rot, grx, gry ) |
---|
| 42 | ! |
---|
| 43 | DO l = 1, klevel |
---|
| 44 | DO ij = 1, ip1jm |
---|
| 45 | gry( ij,l ) = - gry( ij,l ) * crot |
---|
| 46 | END DO |
---|
| 47 | DO ij = 1, ip1jmp1 |
---|
| 48 | grx( ij,l ) = - grx( ij,l ) * crot |
---|
| 49 | END DO |
---|
| 50 | END DO |
---|
| 51 | ! |
---|
| 52 | END DO |
---|
| 53 | RETURN |
---|
| 54 | END SUBROUTINE nxgrarot |
---|