/[lmdze]/trunk/dyn3d/bernoui.f
ViewVC logotype

Contents of /trunk/dyn3d/bernoui.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27 - (show annotations)
Thu Mar 25 14:29:07 2010 UTC (14 years, 2 months ago) by guez
Original Path: trunk/libf/dyn3d/bernoui.f
File size: 1554 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 !
2 ! $Header: /home/cvsroot/LMDZ4/libf/dyn3d/bernoui.F,v 1.1.1.1 2004/05/19 12:53:06 lmdzadmin Exp $
3 !
4 SUBROUTINE bernoui (ngrid,nlay,pphi,pecin,pbern)
5 use dimens_m
6 use paramet_m
7 use logic
8 use filtreg_m, only: filtreg
9 IMPLICIT NONE
10
11 c=======================================================================
12 c
13 c Auteur: P. Le Van
14 c -------
15 c
16 c Objet:
17 c ------
18 c calcul de la fonction de Bernouilli aux niveaux s .....
19 c phi et ecin sont des arguments d'entree pour le s-pg .......
20 c bern est un argument de sortie pour le s-pg ......
21 c
22 c fonction de Bernouilli = bern = filtre de( geopotentiel +
23 c energ.cinet.)
24 c
25 c=======================================================================
26 c
27 c-----------------------------------------------------------------------
28 c Decalrations:
29 c -------------
30 c
31 c
32 c Arguments:
33 c ----------
34 c
35 INTEGER nlay,ngrid
36 REAL pphi(ngrid*nlay),pecin(ngrid*nlay),pbern(ngrid*nlay)
37 c
38 c Local:
39 c ------
40 c
41 INTEGER ijl
42 c
43 c-----------------------------------------------------------------------
44 c calcul de Bernouilli:
45 c ---------------------
46 c
47 DO 4 ijl = 1,ngrid*nlay
48 pbern( ijl ) = pphi( ijl ) + pecin( ijl )
49 4 CONTINUE
50 c
51 c-----------------------------------------------------------------------
52 c filtre:
53 c -------
54 c
55 CALL filtreg( pbern, jjp1, llm, 2,1, .true., 1 )
56 c
57 c-----------------------------------------------------------------------
58 RETURN
59 END

  ViewVC Help
Powered by ViewVC 1.1.21