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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 64 - (hide annotations)
Wed Aug 29 14:47:17 2012 UTC (11 years, 8 months ago) by guez
File size: 1555 byte(s)
Removed variable lstardis in module comdissnew and procedures gradiv
and nxgrarot. lstardir had to be true. gradiv and nxgrarot were called
if lstardis was false. Removed argument iter of procedure
filtreg. iter had to be 1. gradiv and nxgrarot called filtreg with
iter == 2.

Moved procedure flxsetup into module yoecumf. Module yoecumf is only
used in program units of directory Conflx, moved it there.

1 guez 3 !
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 guez 57 use conf_gcm_m
8 guez 27 use filtreg_m, only: filtreg
9 guez 3 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 guez 64 CALL filtreg( pbern, jjp1, llm, 2,1, .true.)
56 guez 3 c
57     c-----------------------------------------------------------------------
58     RETURN
59     END

  ViewVC Help
Powered by ViewVC 1.1.21