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

Contents of /trunk/dyn3d/rotat_nfil.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations)
Thu Jun 13 14:40:06 2019 UTC (4 years, 11 months ago) by guez
File size: 1217 byte(s)
Change all `.f` suffixes to `.f90`. (The opposite was done in revision
82.)  Because of change of philosopy in GNUmakefile: we already had a
rewritten rule for `.f`, so it does not make the makefile longer to
replace it by a rule for `.f90`. And it spares us options of
makedepf90 and of the compiler. Also we prepare the way for a simpler
`CMakeLists.txt`.

1
2 ! $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 dimensions
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