source: LMDZ6/branches/contrails/libf/dyn3d_common/comvert_mod.f90 @ 5440

Last change on this file since 5440 was 5271, checked in by abarral, 2 months ago

Move dimensions.h into a module
Nb: doesn't compile yet

  • 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 5271 2024-10-24 14:25:39Z evignon $
3!
4MODULE comvert_mod
5
6USE dimensions_mod, 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.