source:
LMDZ.3.3/trunk/libf/dyn3d/pression.F
@
5444
| Last change on this file since 5444 was 2, checked in by , 26 years ago | |
|---|---|
|
|
| File size: 806 bytes | |
| Rev | Line | |
|---|---|---|
| [2] | 1 | SUBROUTINE pression( ngrid, ap, bp, ps, p ) |
| 2 | c | |
| 3 | ||
| 4 | c Auteurs : P. Le Van , Fr.Hourdin . | |
| 5 | ||
| 6 | c ************************************************************************ | |
| 7 | c Calcule la pression p(l) aux differents niveaux l = 1 ( niveau du | |
| 8 | c sol) a l = llm +1 ,ces niveaux correspondant aux interfaces des (llm) | |
| 9 | c couches , avec p(ij,llm +1) = 0. et p(ij,1) = ps(ij) . | |
| 10 | c ************************************************************************ | |
| 11 | c | |
| 12 | IMPLICIT NONE | |
| 13 | c | |
| 14 | #include "dimensions.h" | |
| 15 | #include "paramet.h" | |
| 16 | c | |
| 17 | INTEGER ngrid | |
| 18 | INTEGER l,ij | |
| 19 | ||
| 20 | REAL ap( llmp1 ), bp( llmp1 ), ps( ngrid ), p( ngrid,llmp1 ) | |
| 21 | ||
| 22 | DO l = 1, llmp1 | |
| 23 | DO ij = 1, ngrid | |
| 24 | p(ij,l) = ap(l) + bp(l) * ps(ij) | |
| 25 | ENDDO | |
| 26 | ENDDO | |
| 27 | ||
| 28 | RETURN | |
| 29 | END |
Note: See TracBrowser
for help on using the repository browser.
