Last change
on this file since 5134 was
5106,
checked in by abarral, 5 months ago
|
Turn coefils.h into lmdz_coefils.f90
Put filtreg.F90 inside lmdz_filtreg.F90
Turn mod_filtreg_p.F90 into lmdz_filtreg_p.F90
Delete obsolete parafilt.h*
(lint) remove spaces between routine name and args
|
-
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.0 KB
|
Line | |
---|
1 | |
---|
2 | ! $Header$ |
---|
3 | |
---|
4 | SUBROUTINE rotatst(klevel,x, y, rot ) |
---|
5 | ! |
---|
6 | ! P. Le Van |
---|
7 | ! |
---|
8 | ! ***************************************************************** |
---|
9 | ! .. calcule le rotationnel a tous les niveaux d'1 vecteur de comp. x et y .. |
---|
10 | ! x et y etant des composantes covariantes ..... |
---|
11 | ! ***************************************************************** |
---|
12 | ! x et y sont des arguments d'entree pour le s-prog |
---|
13 | ! rot est un argument de sortie pour le s-prog |
---|
14 | ! |
---|
15 | IMPLICIT NONE |
---|
16 | ! |
---|
17 | INTEGER :: klevel |
---|
18 | INCLUDE "dimensions.h" |
---|
19 | INCLUDE "paramet.h" |
---|
20 | |
---|
21 | REAL :: rot( ip1jm,klevel ) |
---|
22 | REAL :: x( ip1jmp1,klevel ), y( ip1jm,klevel ) |
---|
23 | INTEGER :: l, ij |
---|
24 | ! |
---|
25 | ! |
---|
26 | DO l = 1,klevel |
---|
27 | ! |
---|
28 | DO ij = 1, ip1jm - 1 |
---|
29 | rot( ij,l ) = ( y( ij+1 , l ) - y( ij,l ) + & |
---|
30 | x(ij +iip1, l ) - x( ij,l ) ) |
---|
31 | END DO |
---|
32 | ! |
---|
33 | ! .... correction pour rot( iip1,j,l) .... |
---|
34 | ! |
---|
35 | ! .... rot(iip1,j,l)= rot(1,j,l) ... |
---|
36 | !DIR$ IVDEP |
---|
37 | DO ij = iip1, ip1jm, iip1 |
---|
38 | rot( ij,l ) = rot( ij -iim,l ) |
---|
39 | END DO |
---|
40 | ! |
---|
41 | END DO |
---|
42 | RETURN |
---|
43 | END SUBROUTINE rotatst |
---|
Note: See
TracBrowser
for help on using the repository browser.