Compute the tensor components for the diffusion and skew-diffusion tensor.
sine_taper
DESCRIPTION
Calculate a sine taper for those points shallower than the given threshold.
The depth_function gives the depth (in metres) at each (i,j,k) point.
The threshold_depth is the depth (in metres) at each (i,j) point.
The returned taper gives a value in the range [0, 1] at each (i,j,k) point,
where those points at a depth below the threshold are set to 1.0 and those
above approach 0.0 as they approach the surface according to a sine
function.
diffusion_tensor
DESCRIPTION
Compute the components of the neutral diffusion tensor.
compute_diffusion_tapers
DESCRIPTION
Compute the taper functions to be applied to the components of the diffusion
tensor.
compute_masked_tensor
DESCRIPTION
This function applies the boundary conditions relevent to the flags
tmask_neutral_on and tmask_sigma_on.
NAMELIST
&ocean_nphysics_tensor_nml
[logical]
REFERENCES
S.M. Griffies
The Gent-McWilliams Skew-flux
Journal of Physical Oceanography (1998) vol 28 pages 831-841
R. Ferrari, S.M. Griffies, A.J.G. Nurser, and G.K. Vallis
A boundary value problem for the parameterized mesoscale eddy transport
Ocean Modelling, 2009.
S.M. Griffies
Fundamentals of Ocean Climate Models (2004)
Princeton University Press