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

Contents of /trunk/dyn3d/laplacien_rotgam.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 81 - (show annotations)
Wed Mar 5 14:38:41 2014 UTC (10 years, 3 months ago) by guez
File size: 1132 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
2 ! $Header: /home/cvsroot/LMDZ4/libf/dyn3d/laplacien_rotgam.F,v 1.1.1.1
3 ! 2004/05/19 12:53:05 lmdzadmin Exp $
4
5 SUBROUTINE laplacien_rotgam(klevel, rotin, rotout)
6
7 ! P. Le Van
8
9 ! ************************************************************
10 ! ... calcul de (rotat x nxgrad)_gam du rotationnel rotin ..
11 ! ************************************************************
12 ! klevel et teta sont des arguments d'entree pour le s-prog
13 ! divgra est un argument de sortie pour le s-prog
14
15 USE dimens_m
16 USE paramet_m
17 USE comgeom
18 IMPLICIT NONE
19
20
21
22 ! ............. variables en arguments ...........
23
24 INTEGER, INTENT (IN) :: klevel
25 REAL rotin(ip1jm, klevel), rotout(ip1jm, klevel)
26
27 ! ............ variables locales ...............
28
29 INTEGER l, ij
30 REAL ghy(ip1jm, llm), ghx(ip1jmp1, llm)
31 ! ........................................................
32
33
34
35 CALL nxgrad_gam(klevel, rotin, ghx, ghy)
36 CALL rotat_nfil(klevel, ghx, ghy, rotout)
37
38 DO l = 1, klevel
39 DO ij = 1, ip1jm
40 rotout(ij, l) = rotout(ij, l)*unsairz_gam(ij)
41 END DO
42 END DO
43
44 RETURN
45 END SUBROUTINE laplacien_rotgam

  ViewVC Help
Powered by ViewVC 1.1.21