MOM6
mom_verticalgrid::verticalgrid_type Type Reference

Detailed Description

Describes the vertical ocean grid, including unit conversion factors.

Definition at line 24 of file MOM_verticalGrid.F90.

Collaboration diagram for mom_verticalgrid::verticalgrid_type:
[legend]

Public variables and constants

integer ke
 The number of layers/levels in the vertical.
 
real max_depth
 The maximum depth of the ocean [Z ~> m].
 
real mks_g_earth
 The gravitational acceleration in unscaled MKS units [m s-2].
 
real g_earth
 The gravitational acceleration [L2 Z-1 T-2 ~> m s-2].
 
real rho0
 The density used in the Boussinesq approximation or nominal density used to convert depths into mass units [kg m-3].
 
character(len=40) zaxisunits
 The units that vertical coordinates are written in.
 
character(len=40) zaxislongname
 Coordinate name to appear in files, e.g. "Target Potential Density" or "Height".
 
real, dimension(:), allocatable slayer
 Coordinate values of layer centers.
 
real, dimension(:), allocatable sinterface
 Coordinate values on interfaces.
 
integer direction = 1
 Direction defaults to 1, positive up.
 
logical boussinesq
 If true, make the Boussinesq approximation.
 
real angstrom_h
 A one-Angstrom thickness in the model thickness units [H ~> m or kg m-2].
 
real angstrom_z
 A one-Angstrom thickness in the model depth units [Z ~> m].
 
real angstrom_m
 A one-Angstrom thickness [m].
 
real h_subroundoff
 A thickness that is so small that it can be added to a thickness of Angstrom or larger without changing it at the bit level [H ~> m or kg m-2]. If Angstrom is 0 or exceedingly small, this is negligible compared to 1e-17 m.
 
real, dimension(:), allocatable g_prime
 The reduced gravity at each interface [L2 Z-1 T-2 ~> m s-2].
 
real, dimension(:), allocatable rlay
 The target coordinate value (potential density) in each layer [kg m-3].
 
integer nkml = 0
 The number of layers at the top that should be treated as parts of a homogeneous region.
 
integer nk_rho_varies = 0
 The number of layers at the top where the density does not track any target density.
 
real h_to_kg_m2
 A constant that translates thicknesses from the units of thickness to kg m-2.
 
real kg_m2_to_h
 A constant that translates thicknesses from kg m-2 to the units of thickness.
 
real m_to_h
 A constant that translates distances in m to the units of thickness.
 
real h_to_m
 A constant that translates distances in the units of thickness to m.
 
real h_to_pa
 A constant that translates the units of thickness to pressure [Pa].
 
real h_to_z
 A constant that translates thickness units to the units of depth.
 
real z_to_h
 A constant that translates depth units to thickness units.
 
real m_to_h_restart = 0.0
 A copy of the m_to_H that is used in restart files.
 

The documentation for this type was generated from the following file: