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

Annotation of /trunk/Sources/dyn3d/rotat_nfil.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 81 - (hide annotations)
Wed Mar 5 14:38:41 2014 UTC (10 years, 3 months ago) by guez
Original Path: trunk/dyn3d/rotat_nfil.f90
File size: 1215 byte(s)
 Converted to free source form files which were still in fixed source
form. The conversion was done using the polish mode of the NAG Fortran
Compiler.

In addition to converting to free source form, the processing of the
files also:

-- indented the code (including comments);

-- set Fortran keywords to uppercase, and set all other identifiers
to lower case;

-- added qualifiers to end statements (for example "end subroutine
conflx", instead of "end");

-- changed the terminating statements of all DO loops so that each
loop ends with an ENDDO statement (instead of a labeled continue).

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