source: LMDZ5/tags/proto-testing-20131015/libf/dyn3dmem/pression_loc.F @ 3313

Last change on this file since 3313 was 1864, checked in by Laurent Fairhead, 11 years ago

Création d'une nouvelle testing:

merge des modifications du trunk entre r1796 et r1860


New testing version

merged modifications between r1796 and r1860 from the trunk

i.e.
svn merge -r1796:1860 http://svn.lmd.jussieu.fr/LMDZ/LMDZ5/trunk

File size: 1.0 KB
Line 
1      SUBROUTINE pression_loc( ngrid, ap, bp, ps, p )
2      USE parallel_lmdz
3c
4
5c      Auteurs : P. Le Van , Fr.Hourdin  .
6
7c  ************************************************************************
8c     Calcule la pression p(l) aux differents niveaux l = 1 ( niveau du
9c     sol) a l = llm +1 ,ces niveaux correspondant aux interfaces des (llm)
10c     couches , avec  p(ij,llm +1) = 0.  et p(ij,1) = ps(ij)  .     
11c  ************************************************************************
12c
13      IMPLICIT NONE
14c
15#include "dimensions.h"
16#include "paramet.h"
17c
18      INTEGER ngrid
19      INTEGER l,ij
20 
21      REAL ap( llmp1 ), bp( llmp1 ), ps( ijb_u:ije_u )
22      REAL p( ijb_u:ije_u,llmp1 )
23     
24      INTEGER ijb,ije
25
26     
27      ijb=ij_begin-iip1
28      ije=ij_end+2*iip1
29     
30      if (pole_nord) ijb=ij_begin
31      if (pole_sud)  ije=ij_end
32
33c$OMP DO SCHEDULE(STATIC,OMP_CHUNK)
34      DO    l    = 1, llmp1
35        DO  ij   = ijb, ije
36         p(ij,l) = ap(l) + bp(l) * ps(ij)
37        ENDDO
38      ENDDO
39c$OMP END DO NOWAIT   
40      RETURN
41      END
Note: See TracBrowser for help on using the repository browser.