Compute Richardson number assuming horizontal B-grid layout.
Richardson number rit is centered at T-cell.
Richardson number riu is centered at U-cell.
This calculation differs from that in ocean_vert_kpp_mom4p1
since here we compute N^2 using locally referenced potential density,
as done for tide mixing scheme and as done in ri_for_cgrid. Other
features of the calculation, such as the horizontal averaging,
agree with ocean_vert_kpp_mom4p1.
ri_for_cgrid
DESCRIPTION
Compute Richardson number assuming horizontal C-grid layout.
Richardson number rit is centered at T-cell.
Richardson number riu is set equal to rit, as there is no
separate "U-cell" when working with a Cgrid.
This calculation differs from that in ocean_vert_kpp_mom4p1
since here we compute N^2 using locally referenced potential density,
as done for tide mixing scheme and as done in ri_for_cgrid.
NAMELIST
&ocean_tracer_util_nml
debug_this_module
For debugging purposes.
[logical]
smooth_n2
For vertical smoothing the N2 calculation for Richardson number.
Default smooth_n2 = .true.
[logical]
num_n2_smooth
For vertical smoothing N2 for Richardson number.
Default num_n2_smooth = 1.
[integer]
smooth_ri_number
For vertical smoothing richardson number.
Default smooth_ri_number = .true.
[logical]
num_ri_smooth
For vertical smoothing richardson number.
Default num_ri_smooth = 1.
[integer]