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