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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations)
Wed Feb 27 13:16:39 2008 UTC (16 years, 2 months ago) by guez
File size: 1519 byte(s)
Initial import
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 IMPLICIT NONE
9
10 c=======================================================================
11 c
12 c Auteur: P. Le Van
13 c -------
14 c
15 c Objet:
16 c ------
17 c calcul de la fonction de Bernouilli aux niveaux s .....
18 c phi et ecin sont des arguments d'entree pour le s-pg .......
19 c bern est un argument de sortie pour le s-pg ......
20 c
21 c fonction de Bernouilli = bern = filtre de( geopotentiel +
22 c energ.cinet.)
23 c
24 c=======================================================================
25 c
26 c-----------------------------------------------------------------------
27 c Decalrations:
28 c -------------
29 c
30 c
31 c Arguments:
32 c ----------
33 c
34 INTEGER nlay,ngrid
35 REAL pphi(ngrid*nlay),pecin(ngrid*nlay),pbern(ngrid*nlay)
36 c
37 c Local:
38 c ------
39 c
40 INTEGER ijl
41 c
42 c-----------------------------------------------------------------------
43 c calcul de Bernouilli:
44 c ---------------------
45 c
46 DO 4 ijl = 1,ngrid*nlay
47 pbern( ijl ) = pphi( ijl ) + pecin( ijl )
48 4 CONTINUE
49 c
50 c-----------------------------------------------------------------------
51 c filtre:
52 c -------
53 c
54 CALL filtreg( pbern, jjp1, llm, 2,1, .true., 1 )
55 c
56 c-----------------------------------------------------------------------
57 RETURN
58 END

  ViewVC Help
Powered by ViewVC 1.1.21