|
Last change
on this file since 5356 was
5285,
checked in by abarral, 13 months ago
|
|
As discussed internally, remove generic ONLY: ... for new _mod_h modules
|
-
Property copyright set to
Name of program: LMDZ Creation date: 1984 Version: LMDZ5 License: CeCILL version 2 Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539 See the license file in the root directory
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | ! |
|---|
| 2 | ! $Header$ |
|---|
| 3 | ! |
|---|
| 4 | SUBROUTINE bernoui (ngrid,nlay,pphi,pecin,pbern) |
|---|
| 5 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
|---|
| 6 | USE paramet_mod_h |
|---|
| 7 | IMPLICIT NONE |
|---|
| 8 | |
|---|
| 9 | !======================================================================= |
|---|
| 10 | ! |
|---|
| 11 | ! Auteur: P. Le Van |
|---|
| 12 | ! ------- |
|---|
| 13 | ! |
|---|
| 14 | ! Objet: |
|---|
| 15 | ! ------ |
|---|
| 16 | ! calcul de la fonction de Bernouilli aux niveaux s ..... |
|---|
| 17 | ! phi et ecin sont des arguments d'entree pour le s-pg ....... |
|---|
| 18 | ! bern est un argument de sortie pour le s-pg ...... |
|---|
| 19 | ! |
|---|
| 20 | ! fonction de Bernouilli = bern = filtre de( geopotentiel + |
|---|
| 21 | ! energ.cinet.) |
|---|
| 22 | ! |
|---|
| 23 | !======================================================================= |
|---|
| 24 | ! |
|---|
| 25 | !----------------------------------------------------------------------- |
|---|
| 26 | ! Decalrations: |
|---|
| 27 | ! ------------- |
|---|
| 28 | ! |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | ! |
|---|
| 32 | ! Arguments: |
|---|
| 33 | ! ---------- |
|---|
| 34 | ! |
|---|
| 35 | INTEGER :: nlay,ngrid |
|---|
| 36 | REAL :: pphi(ngrid*nlay),pecin(ngrid*nlay),pbern(ngrid*nlay) |
|---|
| 37 | ! |
|---|
| 38 | ! Local: |
|---|
| 39 | ! ------ |
|---|
| 40 | ! |
|---|
| 41 | INTEGER :: ijl |
|---|
| 42 | ! |
|---|
| 43 | !----------------------------------------------------------------------- |
|---|
| 44 | ! calcul de Bernouilli: |
|---|
| 45 | ! --------------------- |
|---|
| 46 | ! |
|---|
| 47 | DO ijl = 1,ngrid*nlay |
|---|
| 48 | pbern( ijl ) = pphi( ijl ) + pecin( ijl ) |
|---|
| 49 | END DO |
|---|
| 50 | ! |
|---|
| 51 | !----------------------------------------------------------------------- |
|---|
| 52 | ! filtre: |
|---|
| 53 | ! ------- |
|---|
| 54 | ! |
|---|
| 55 | CALL filtreg( pbern, jjp1, llm, 2,1, .true., 1 ) |
|---|
| 56 | ! |
|---|
| 57 | !----------------------------------------------------------------------- |
|---|
| 58 | RETURN |
|---|
| 59 | END SUBROUTINE bernoui |
|---|
Note: See
TracBrowser
for help on using the repository browser.