LMDZ
bernoui.F
Go to the documentation of this file.
1 !
2 ! $Header$
3 !
4  SUBROUTINE bernoui (ngrid,nlay,pphi,pecin,pbern)
5  IMPLICIT NONE
6 
7 c=======================================================================
8 c
9 c Auteur: P. Le Van
10 c -------
11 c
12 c Objet:
13 c ------
14 c calcul de la fonction de Bernouilli aux niveaux s .....
15 c phi et ecin sont des arguments d'entree pour le s-pg .......
16 c bern est un argument de sortie pour le s-pg ......
17 c
18 c fonction de Bernouilli = bern = filtre de( geopotentiel +
19 c energ.cinet.)
20 c
21 c=======================================================================
22 c
23 c-----------------------------------------------------------------------
24 c Decalrations:
25 c -------------
26 c
27 #include "dimensions.h"
28 #include "paramet.h"
29 #include "logic.h"
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
!$Id Turb_fcg_gcssold get_uvd hqturb_gcssold endif!large scale llm day day1 day day1 *dt_toga endif!time annee_ref dt_toga u_toga vq_toga w_prof vq_prof llm day day1 day day1 *dt_dice endif!time annee_ref dt_dice swup_dice vg_dice omega_dice tg_prof vg_profd w_profd omega_profd!do llm!print llm l llm
subroutine bernoui(ngrid, nlay, pphi, pecin, pbern)
Definition: bernoui.F:5
!$Header jjp1
Definition: paramet.h:14
!$Id itapm1 ENDIF!IM on interpole les champs sur les niveaux STD de pression!IM a chaque pas de temps de la physique c!positionnement de l argument logique a false c!pour ne pas recalculer deux fois la meme chose!c!a cet effet un appel a plevel_new a ete deplace c!a la fin de la serie d appels c!la boucle DO nlevSTD a ete internalisee c!dans d ou la creation de cette routine c c!CALL ulevSTD CALL &zphi philevSTD CALL &zx_rh rhlevSTD!DO klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon du jour ou toutes les read_climoz CALL true
subroutine filtreg(champ, nlat, nbniv, ifiltre, iaire, griscal, iter)
Definition: filtreg.F:6