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

Contents of /trunk/Sources/dyn3d/convmas.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 81 - (show annotations)
Wed Mar 5 14:38:41 2014 UTC (10 years, 2 months ago) by guez
Original Path: trunk/dyn3d/convmas.f90
File size: 1699 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/convmas.F,v 1.1.1.1 2004/05/19
3 ! 12:53:07 lmdzadmin Exp $
4
5 SUBROUTINE convmas(pbaru, pbarv, convm)
6
7 USE dimens_m
8 USE paramet_m
9 USE disvert_m
10 USE conf_gcm_m
11 USE filtreg_m, ONLY: filtreg
12 IMPLICIT NONE
13
14 ! =======================================================================
15
16 ! Auteurs: P. Le Van , F. Hourdin .
17 ! -------
18
19 ! Objet:
20 ! ------
21
22 ! ********************************************************************
23 ! .... calcul de la convergence du flux de masse aux niveaux p ...
24 ! ********************************************************************
25
26
27 ! pbaru et pbarv sont des arguments d'entree pour le s-pg ....
28 ! ..... convm est un argument de sortie pour le s-pg ....
29
30 ! le calcul se fait de haut en bas,
31 ! la convergence de masse au niveau p(llm+1) est egale a 0. et
32 ! n'est pas stockee dans le tableau convm .
33
34
35 ! =======================================================================
36
37 ! Declarations:
38 ! -------------
39
40
41 REAL, INTENT (IN) :: pbaru(ip1jmp1, llm), pbarv(ip1jm, llm)
42 REAL, INTENT (OUT) :: convm(ip1jmp1, llm)
43 INTEGER l, ij
44
45
46 ! -----------------------------------------------------------------------
47 ! .... calcul de - (d(pbaru)/dx + d(pbarv)/dy ) ......
48
49 CALL convflu(pbaru, pbarv, llm, convm)
50
51 ! -----------------------------------------------------------------------
52 ! filtrage:
53 ! ---------
54
55 CALL filtreg(convm, jjp1, llm, 2, 2, .TRUE.)
56
57 ! integration de la convergence de masse de haut en bas ......
58
59 DO l = llmm1, 1, -1
60 DO ij = 1, ip1jmp1
61 convm(ij, l) = convm(ij, l) + convm(ij, l+1)
62 END DO
63 END DO
64
65 RETURN
66 END SUBROUTINE convmas

  ViewVC Help
Powered by ViewVC 1.1.21