source: LMDZ5/trunk/libf/dyn3dpar/pression.F @ 1907

Last change on this file since 1907 was 1907, checked in by lguez, 10 years ago

Added a copyright property to every file of the distribution, except
for the fcm files (which have their own copyright). Use svn propget on
a file to see the copyright. For instance:

$ svn propget copyright libf/phylmd/physiq.F90
Name of program: LMDZ
Creation date: 1984
Version: LMDZ5
License: CeCILL version 2
Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
See the license file in the root directory

Also added the files defining the CeCILL version 2 license, in French
and English, at the top of the LMDZ tree.

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 821 bytes
Line 
1!
2! $Header$
3!
4      SUBROUTINE pression( ngrid, ap, bp, ps, p )
5c
6
7c      Auteurs : P. Le Van , Fr.Hourdin  .
8
9c  ************************************************************************
10c     Calcule la pression p(l) aux differents niveaux l = 1 ( niveau du
11c     sol) a l = llm +1 ,ces niveaux correspondant aux interfaces des (llm)
12c     couches , avec  p(ij,llm +1) = 0.  et p(ij,1) = ps(ij)  .     
13c  ************************************************************************
14c
15      IMPLICIT NONE
16c
17#include "dimensions.h"
18#include "paramet.h"
19c
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.