/[lmdze]/trunk/dyn3d/rotat_nfil.f
ViewVC logotype

Annotation of /trunk/dyn3d/rotat_nfil.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134 - (hide annotations)
Wed Apr 29 15:47:56 2015 UTC (9 years, 1 month ago) by guez
Original Path: trunk/Sources/dyn3d/rotat_nfil.f
File size: 1215 byte(s)
Sources inside, compilation outside.
1 guez 3
2 guez 81 ! $Header: /home/cvsroot/LMDZ4/libf/dyn3d/rotat_nfil.F,v 1.1.1.1 2004/05/19
3     ! 12:53:05 lmdzadmin Exp $
4    
5     SUBROUTINE rotat_nfil(klevel, x, y, rot)
6    
7     ! Auteur : P.Le Van
8     ! **************************************************************
9     ! . Calcule le rotationnel non filtre ,
10     ! a tous les niveaux d'1 vecteur de comp. x et y ..
11     ! x et y etant des composantes covariantes ...
12     ! ********************************************************************
13     ! klevel, x et y sont des arguments d'entree pour le s-prog
14     ! rot est un argument de sortie pour le s-prog
15    
16     USE dimens_m
17     USE paramet_m
18     USE comgeom
19     IMPLICIT NONE
20    
21    
22     ! ..... variables en arguments ......
23    
24     INTEGER, INTENT (IN) :: klevel
25     REAL rot(ip1jm, klevel)
26     REAL x(ip1jmp1, klevel), y(ip1jm, klevel)
27    
28     ! ... variables locales ...
29    
30     INTEGER l, ij
31    
32    
33     DO l = 1, klevel
34    
35     DO ij = 1, ip1jm - 1
36     rot(ij, l) = y(ij+1, l) - y(ij, l) + x(ij+iip1, l) - x(ij, l)
37     END DO
38    
39     ! .... correction pour rot( iip1,j,l) ....
40     ! .... rot(iip1,j,l)= rot(1,j,l) ...
41     ! DIR$ IVDEP
42     DO ij = iip1, ip1jm, iip1
43     rot(ij, l) = rot(ij-iim, l)
44     END DO
45    
46     END DO
47    
48     RETURN
49     END SUBROUTINE rotat_nfil

  ViewVC Help
Powered by ViewVC 1.1.21