source: LMDZ6/branches/Amaury_dev/libf/dyn3d_common/comvert_mod.F90 @ 5209

Last change on this file since 5209 was 5159, checked in by abarral, 3 months ago

Put dimensions.h and paramet.h into modules

  • 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: 1.5 KB
Line 
1
2! $Id: comvert_mod.F90 5159 2024-08-02 19:58:25Z fairhead $
3
4MODULE comvert_mod
5
6USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm
7IMPLICIT NONE
8
9PRIVATE
10
11
12PUBLIC :: ap,bp,presnivs,dpres,sig,ds,pa,preff,nivsigs,nivsig, &
13          aps,bps,scaleheight,pseudoalt,disvert_type, pressure_exner, &
14          presinter
15
16REAL ap(llm+1) ! hybrid pressure contribution at interlayers
17REAL bp (llm+1) ! hybrid sigma contribution at interlayer
18REAL presnivs(llm) ! (reference) pressure at mid-layers
19REAL presinter(llm+1) ! (reference) pressure at interlayers
20REAL dpres(llm)
21REAL sig(llm+1)
22REAL ds(llm)
23REAL pa ! reference pressure (Pa) at which hybrid coordinates
24        ! become purely pressure (more or less)
25REAL preff  ! reference surface pressure (Pa)
26REAL nivsigs(llm)
27REAL nivsig(llm+1)
28REAL aps(llm) ! hybrid pressure contribution at mid-layers
29REAL bps(llm) ! hybrid sigma contribution at mid-layers
30REAL scaleheight ! atmospheric (reference) scale height (km)
31REAL pseudoalt(llm) ! pseudo-altitude of model levels (km), based on presnivs(),
32                     ! preff and scaleheight
33
34INTEGER disvert_type ! type of vertical discretization:
35                     ! 1: Earth (default for planet_type==earth),
36                     !     automatic generation
37                     ! 2: Planets (default for planet_type!=earth),
38                     !     using 'z2sig.def' (or 'esasig.def) file
39
40LOGICAL pressure_exner
41!     compute pressure inside layers using Exner function, else use mean
42!     of pressure values at interfaces
43
44END MODULE comvert_mod
Note: See TracBrowser for help on using the repository browser.