| 1 | MODULE comvert_mod | 
|---|
| 2 |  | 
|---|
| 3 | IMPLICIT NONE   | 
|---|
| 4 |  | 
|---|
| 5 | PRIVATE | 
|---|
| 6 | INCLUDE "dimensions.h" | 
|---|
| 7 |  | 
|---|
| 8 | PUBLIC :: ap,bp,presnivs,dpres,sig,ds,pa,preff,nivsigs,nivsig, & | 
|---|
| 9 |           aps,bps,scaleheight,pseudoalt,disvert_type, pressure_exner | 
|---|
| 10 |  | 
|---|
| 11 | REAL ap(llm+1) ! hybrid pressure contribution at interlayers | 
|---|
| 12 | REAL bp (llm+1) ! hybrid sigma contribution at interlayer | 
|---|
| 13 | REAL presnivs(llm) ! (reference) pressure at mid-layers | 
|---|
| 14 | REAL dpres(llm) | 
|---|
| 15 | REAL sig(llm+1) | 
|---|
| 16 | REAL ds(llm) | 
|---|
| 17 | REAL pa ! reference pressure (Pa) at which hybrid coordinates | 
|---|
| 18 |         ! become purely pressure (more or less) | 
|---|
| 19 | REAL preff  ! reference surface pressure (Pa) | 
|---|
| 20 | REAL nivsigs(llm) | 
|---|
| 21 | REAL nivsig(llm+1) | 
|---|
| 22 | REAL aps(llm) ! hybrid pressure contribution at mid-layers | 
|---|
| 23 | REAL bps(llm) ! hybrid sigma contribution at mid-layers | 
|---|
| 24 | REAL scaleheight ! atmospheric (reference) scale height (km) | 
|---|
| 25 | REAL pseudoalt(llm) ! pseudo-altitude of model levels (km), based on presnivs(), | 
|---|
| 26 |                      ! preff and scaleheight | 
|---|
| 27 |  | 
|---|
| 28 | INTEGER disvert_type ! type of vertical discretization: | 
|---|
| 29 |                      ! 1: Earth (default for planet_type==earth), | 
|---|
| 30 |                      !     automatic generation | 
|---|
| 31 |                      ! 2: Planets (default for planet_type!=earth), | 
|---|
| 32 |                      !     using 'z2sig.def' (or 'esasig.def) file | 
|---|
| 33 |  | 
|---|
| 34 | LOGICAL pressure_exner | 
|---|
| 35 | !     compute pressure inside layers using Exner function, else use mean | 
|---|
| 36 | !     of pressure values at interfaces | 
|---|
| 37 |  | 
|---|
| 38 | END MODULE comvert_mod | 
|---|