Last change
on this file since 807 was
630,
checked in by Laurent Fairhead, 19 years ago
|
Import d'une version parallele de la dynamique YM
LF
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
985 bytes
|
Line | |
---|
1 | SUBROUTINE pression_p( ngrid, ap, bp, ps, p ) |
---|
2 | USE parallel |
---|
3 | c |
---|
4 | |
---|
5 | c Auteurs : P. Le Van , Fr.Hourdin . |
---|
6 | |
---|
7 | c ************************************************************************ |
---|
8 | c Calcule la pression p(l) aux differents niveaux l = 1 ( niveau du |
---|
9 | c sol) a l = llm +1 ,ces niveaux correspondant aux interfaces des (llm) |
---|
10 | c couches , avec p(ij,llm +1) = 0. et p(ij,1) = ps(ij) . |
---|
11 | c ************************************************************************ |
---|
12 | c |
---|
13 | IMPLICIT NONE |
---|
14 | c |
---|
15 | #include "dimensions.h" |
---|
16 | #include "paramet.h" |
---|
17 | c |
---|
18 | INTEGER ngrid |
---|
19 | INTEGER l,ij |
---|
20 | |
---|
21 | REAL ap( llmp1 ), bp( llmp1 ), ps( ngrid ), p( ngrid,llmp1 ) |
---|
22 | |
---|
23 | INTEGER ijb,ije |
---|
24 | |
---|
25 | |
---|
26 | ijb=ij_begin-iip1 |
---|
27 | ije=ij_end+2*iip1 |
---|
28 | |
---|
29 | if (pole_nord) ijb=ij_begin |
---|
30 | if (pole_sud) ije=ij_end |
---|
31 | |
---|
32 | DO l = 1, llmp1 |
---|
33 | DO ij = ijb, ije |
---|
34 | p(ij,l) = ap(l) + bp(l) * ps(ij) |
---|
35 | ENDDO |
---|
36 | ENDDO |
---|
37 | |
---|
38 | RETURN |
---|
39 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.