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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 57 - (show annotations)
Mon Jan 30 12:54:02 2012 UTC (12 years, 3 months ago) by guez
File size: 1750 byte(s)
Write used namelists to file "" instead of standard output.

Avoid aliasing in "inidissip" in calls to "divgrad2", "divgrad",
"gradiv2", "gradiv", "nxgraro2" and "nxgrarot". Add a degenerate
dimension to arrays so they have rank 3, like the dummy arguments in
"divgrad2", "divgrad", "gradiv2", "gradiv", "nxgraro2" and "nxgrarot".

Extract the initialization part from "bilan_dyn" and make a separate
procedure, "init_dynzon", from it.

Move variables from modules "iniprint" and "logic" to module
"conf_gcm_m".

Promote internal procedures of "fxy" to private procedures of module
"fxy_m".

Extracted documentation from "inigeom". Removed useless "save"
attributes. Removed useless intermediate variables. Extracted
processing of poles from loop on latitudes. Write coordinates to file
"longitude_latitude.txt" instead of standard output.

Do not use ozone tracer for radiative transfer.

1 !
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 conf_gcm_m
10 use filtreg_m, only: filtreg
11 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