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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27 - (hide annotations)
Thu Mar 25 14:29:07 2010 UTC (14 years, 2 months ago) by guez
Original Path: trunk/libf/dyn3d/convmas.f
File size: 1745 byte(s)
"dyn3d" and "filtrez" do not contain any included file so make rules
have been updated.

"comdissip.f90" was useless, removed it.

"dynredem0" wrote undefined value in "controle(31)", that was
overwritten by "dynredem1". Now "dynredem0" just writes 0 to
"controle(31)".

Removed arguments of "inidissip". "inidissip" now accesses the
variables by use association.

In program "etat0_lim", "itaufin" is not defined so "dynredem1" wrote
undefined value to "controle(31)". Added argument "itau" of
"dynredem1" to correct that.

"itaufin" does not need to be a module variable (of "temps"), made it
a local variable of "leapfrog".

Removed calls to "diagedyn" from "leapfrog".

1 guez 3 !
2     ! $Header: /home/cvsroot/LMDZ4/libf/dyn3d/convmas.F,v 1.1.1.1 2004/05/19 12:53:07 lmdzadmin Exp $
3     !
4     SUBROUTINE convmas (pbaru, pbarv, convm )
5     c
6     use dimens_m
7     use paramet_m
8     use comvert
9     use logic
10 guez 27 use filtreg_m, only: filtreg
11 guez 3 IMPLICIT NONE
12    
13     c=======================================================================
14     c
15     c Auteurs: P. Le Van , F. Hourdin .
16     c -------
17     c
18     c Objet:
19     c ------
20     c
21     c ********************************************************************
22     c .... calcul de la convergence du flux de masse aux niveaux p ...
23     c ********************************************************************
24     c
25     c
26     c pbaru et pbarv sont des arguments d'entree pour le s-pg ....
27     c ..... convm est un argument de sortie pour le s-pg ....
28     c
29     c le calcul se fait de haut en bas,
30     c la convergence de masse au niveau p(llm+1) est egale a 0. et
31     c n'est pas stockee dans le tableau convm .
32     c
33     c
34     c=======================================================================
35     c
36     c Declarations:
37     c -------------
38    
39    
40     REAL pbaru( ip1jmp1,llm ),pbarv( ip1jm,llm ),convm( ip1jmp1,llm )
41     INTEGER l,ij
42    
43    
44     c-----------------------------------------------------------------------
45     c .... calcul de - (d(pbaru)/dx + d(pbarv)/dy ) ......
46    
47     CALL convflu( pbaru, pbarv, llm, convm )
48    
49     c-----------------------------------------------------------------------
50     c filtrage:
51     c ---------
52    
53     CALL filtreg( convm, jjp1, llm, 2, 2, .true., 1 )
54    
55     c integration de la convergence de masse de haut en bas ......
56    
57     DO l = llmm1, 1, -1
58     DO ij = 1, ip1jmp1
59     convm(ij,l) = convm(ij,l) + convm(ij,l+1)
60     ENDDO
61     ENDDO
62     c
63     RETURN
64     END

  ViewVC Help
Powered by ViewVC 1.1.21