Read in the namelist parameters and ensure that valid values have been
choosen.
Also determine whether agm is z-dependent.
init_globals
DESCRIPTION
Allocate and initialise all (non-namelist) global variables in the module.
register fields
DESCRIPTION
Register diagnostic fields.
diffusivity_init
DESCRIPTION
Initialise the three diffusivity arrays.
check_stability
DESCRIPTION
Check the stability assumptions and print details of the limits of stability.
compute_diffusivity
DESCRIPTION
compute_agm
DESCRIPTION
Compute the flow-dependent GM diffusivity.
compute_raw_growth_rate
DESCRIPTION
Compute the raw growth rate at each grid point, using either the eady
growth rate or the baroclinicity to obtain raw_growth_rate = NS
compute_growth_rate
DESCRIPTION
Take the raw growth rate and convert it to a final growth rate to be
used in the diffusivity calculations.
vertical_average
DESCRIPTION
Compute the vertical average of the given array between D_t and D_b,
as specified by agm_rate_upper_depth and agm_rate_lower_depth.
compute_length
DESCRIPTION
Compute the flow-dependent length scale involved in the GM diffusivity
calculations.
compute_bczone_radius
DESCRIPTION
Subroutine computes the radius of the baroclinic zone in a manner
suggested by the Hadley Centre approach (Malcolm Roberts, personal
communication).
Algorithm is used in MOM3 and documented in the MOM3 Manual.
compute_aredi
DESCRIPTION
Compute the flow-dependent neutral (Redi) diffusivity.
apply_grid_scaling
DESCRIPTION
Scale the supplied array as a function of the grid length and the
Rossby radius. The scaling factor takes a value between zero and one.
Interesting values of the scaling factor are
1.0 if Rossby radius = 0.0
0.5 if Rossby radius = grid length
-> 0 as rossby radius -> inf
NAMELIST
&ocean_nphysics_diff_nml
[logical]
REFERENCES
S.M. Griffies
Fundamentals of Ocean Climate Models (FOCM) (2004)
Princeton University Press