Take an array defined over the 4 quadrants centred on a tracer cell
and shift them vertically to the four quadrants spanning the bottom
cell face. The top and bottom half cells are set to zero.
_____________ _____________
| : | | : |
| 0,0 : 1,0 | | : |
| : ! | : |
|-----T-----| ==> |-----T-----|
| : ! | : |
| 0,1 : 1,1 ! | 0,0 : 1,0 |
|_____:_____| |_____:_____|
| : |
| 0,1 : 1,1 |
| : |
|-----o-----|
| : |
| : |
|_____:_____|
stencil_centre_to_horiz
DESCRIPTION
Take an array defined over the 4 quadrants centred on a tracer cell
and shift them horizontally to the four quadrants spanning the right hand
cell face.
_____________ _________________________
| : | | : | : |
| 0,0 : 1,0 | | : 0,0 | 1,0 : |
| : ! | : | : |
|-----T-----| ==> |-----T-----|-----o-----|
| : ! | : | : |
| 0,1 : 1,1 ! | : 0,1 | 1,1 : |
|_____:_____| |_____:_____|_____:_____|
vert_smooth
DESCRIPTION
Apply a vertical smoothing using a weighted 3 point stencil.
1
Stencil weights : 2
1
Smoothing is applied to all points in the column which admit
the full stencil (so vertical boundaries are not modified).
The smoothing is applied multiple times, controlled by the namelist
parameter num_121_passes.
horz_smooth
DESCRIPTION
Apply a horizontal smoothing using a weighted five point stencil.
1
Stencil weights : 1 4 1
1
Only active cells, as defined by the tmask, are used in the calculation.
Operates over the COMP domain.
compute_rossby_radius
DESCRIPTION
Subroutine computes the first baroclinic Rossby radius of deformation.
Employ WKB approach described by Chelton et al. In particular,
use formulae (2.2), (2.3a) and (2.3b) from their paper.
check_init
DESCRIPTION
Helper function to ensure the module is initialised when calling the
module's functions.
NAMELIST
&ocean_nphysics_util_new_nml
num_121_passes
For number of 1-2-1 passes through to smooth drhodz or
eady_rate in vertical. Default num_121_passes=1.
[integer]
REFERENCES
D.B. Chelton, R.A. deSzoeke, M.G. Schlax, K.E. Naggar, N. Siwertz
Geographical Variability of the First Baroclinic Rossby Radius of Deformation
Journal of Physical Oceanography (1998) vol 28 pages 433-460
K. Eden and R. Greatbatch, 2008: Towards a mesoscale eddy closure,
Ocean Modelling, vol. 20, pages 223-239
S.M. Griffies "Elements of MOM (2012) (EoM)"
S.M. Griffies
Fundamentals of Ocean Climate Models (2004)
Princeton University Press