mom_continuity module reference¶
Solve the layer continuity equation.
Data Types¶
Control structure for |
Functions/Subroutines¶
Time steps the layer thicknesses, using a monotonically limited, directionally split PPM scheme, based on Lin (1994). |
|
Initializes |
|
continuity_stencil returns the continuity solver stencil size |
|
Destructor for |
Detailed Description¶
Solve the layer continuity equation.
Type Documentation¶
-
type
mom_continuity/
continuity_cs
¶ Control structure for
mom_continuity()
. .- Type fields
%
continuity_scheme
[integer] :: Selects the discretization for the continuity solver. Valid values are:%
ppm_csp
[type(continuity_ppm_cs),pointer] :: Control structure for
Function/Subroutine Documentation¶
-
subroutine
mom_continuity/
continuity
(u, v, hin, h, uh, vh, dt, G, GV, US, CS, uhbt, vhbt, OBC, visc_rem_u, visc_rem_v, u_cor, v_cor, BT_cont)¶ Time steps the layer thicknesses, using a monotonically limited, directionally split PPM scheme, based on Lin (1994).
- Parameters
g :: [inout] Ocean grid structure.
gv :: [in] Vertical grid structure.
u :: [in] Zonal velocity [L T-1 ~> m s-1].
v :: [in] Meridional velocity [L T-1 ~> m s-1].
hin :: [in] Initial layer thickness [H ~> m or kg m-2].
h :: [inout] Final layer thickness [H ~> m or kg m-2].
uh :: [out] Volume flux through zonal faces =
vh :: [out] Volume flux through meridional faces =
dt :: [in] Time increment [T ~> s].
us :: [in] A dimensional unit scaling type
cs :: Control structure for
mom_continuity()
..uhbt :: [in] The vertically summed volume
vhbt :: [in] The vertically summed volume
obc :: Open boundaries control structure.
visc_rem_u :: [in] Both the fraction of
visc_rem_v :: [in] Both the fraction of
u_cor :: [out] The zonal velocities that
v_cor :: [out] The meridional velocities that
bt_cont :: A structure with elements
- Call to
mom_error_handler::mom_error
ppm_scheme
- Called from
mom_dynamics_unsplit::step_mom_dyn_unsplit
mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2
-
subroutine
mom_continuity/
continuity_init
(Time, G, GV, US, param_file, diag, CS)¶ Initializes
continuity_cs()
. .- Parameters
time :: [in] Current model time.
g :: [in] Ocean grid structure.
gv :: [in] Vertical grid structure.
us :: [in] A dimensional unit scaling type
param_file :: [in] Parameter file handles.
diag :: [inout] Diagnostics control structure.
cs :: Control structure for
mom_continuity()
. .
- Call to
mom_error_handler::mom_error
mom_error_handler::mom_mesg
ppm_scheme
ppm_string
mom_string_functions::uppercase
-
function
mom_continuity/
continuity_stencil
(CS) [integer]¶ continuity_stencil returns the continuity solver stencil size
- Parameters
cs :: Module’s control structure.
- Return
undefined :: The continuity solver stencil size with the current settings.
- Call to
ppm_scheme
- Called from
-
subroutine
mom_continuity/
continuity_end
(CS)¶ Destructor for
continuity_cs()
. .- Parameters
cs :: Control structure for
mom_continuity()
. .- Call to
mom_continuity_ppm::continuity_ppm_end
ppm_scheme