|
Last change
on this file since 189 was
2,
checked in by lmdz, 26 years ago
|
|
Initial revision
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | SUBROUTINE bernoui (ngrid,nlay,pphi,pecin,pbern) |
|---|
| 2 | IMPLICIT NONE |
|---|
| 3 | |
|---|
| 4 | c======================================================================= |
|---|
| 5 | c |
|---|
| 6 | c Auteur: P. Le Van |
|---|
| 7 | c ------- |
|---|
| 8 | c |
|---|
| 9 | c Objet: |
|---|
| 10 | c ------ |
|---|
| 11 | c calcul de la fonction de Bernouilli aux niveaux s ..... |
|---|
| 12 | c phi et ecin sont des arguments d'entree pour le s-pg ....... |
|---|
| 13 | c bern est un argument de sortie pour le s-pg ...... |
|---|
| 14 | c |
|---|
| 15 | c fonction de Bernouilli = bern = filtre de( geopotentiel + |
|---|
| 16 | c energ.cinet.) |
|---|
| 17 | c |
|---|
| 18 | c======================================================================= |
|---|
| 19 | c |
|---|
| 20 | c----------------------------------------------------------------------- |
|---|
| 21 | c Decalrations: |
|---|
| 22 | c ------------- |
|---|
| 23 | c |
|---|
| 24 | #include "dimensions.h" |
|---|
| 25 | #include "paramet.h" |
|---|
| 26 | #include "logic.h" |
|---|
| 27 | c |
|---|
| 28 | c Arguments: |
|---|
| 29 | c ---------- |
|---|
| 30 | c |
|---|
| 31 | INTEGER nlay,ngrid |
|---|
| 32 | REAL pphi(ngrid*nlay),pecin(ngrid*nlay),pbern(ngrid*nlay) |
|---|
| 33 | c |
|---|
| 34 | c Local: |
|---|
| 35 | c ------ |
|---|
| 36 | c |
|---|
| 37 | INTEGER ijl |
|---|
| 38 | EXTERNAL filtreg |
|---|
| 39 | c |
|---|
| 40 | c----------------------------------------------------------------------- |
|---|
| 41 | c calcul de Bernouilli: |
|---|
| 42 | c --------------------- |
|---|
| 43 | c |
|---|
| 44 | DO 4 ijl = 1,ngrid*nlay |
|---|
| 45 | pbern( ijl ) = pphi( ijl ) + pecin( ijl ) |
|---|
| 46 | 4 CONTINUE |
|---|
| 47 | c |
|---|
| 48 | c----------------------------------------------------------------------- |
|---|
| 49 | c filtre: |
|---|
| 50 | c ------- |
|---|
| 51 | c |
|---|
| 52 | CALL filtreg( pbern, jjp1, llm, 2,1, .true., 1 ) |
|---|
| 53 | c |
|---|
| 54 | c----------------------------------------------------------------------- |
|---|
| 55 | RETURN |
|---|
| 56 | END |
|---|
Note: See
TracBrowser
for help on using the repository browser.