MOM_CoriolisAdv module reference
Accelerations due to the Coriolis force and momentum advection
Data Types
Control structure for mom_coriolisadv |
Functions/Subroutines
Calculate the Coriolis and momentum advection contributions to the acceleration. |
|
Calculate the Coriolis and momentum advection contributions to the acceleration for a k block size. |
|
Calculates the acceleration due to the gradient of kinetic energy for a k-block. |
|
Reconstruct the scalar (e.g., pv, vorticity) onto point i-1/2 using a third-order upwind scheme |
|
Reconstruct the scalar (e.g., PV, vorticity) onto point i-1/2 using a third-order upwind scheme with the Koren flux limiter |
|
Compute the factor for the WENO weights |
|
Reconstruct the tracer (e.g., PV, vorticity) onto the point i-1/2 using a third-order WENO scheme This reconstruction is thickness-weighted |
|
Compute the smoothness indicator for the two-point stencil of the third-order WENO scheme |
|
Reconstruction in the second upwind stencil of the third-order WENO scheme |
|
Reconstruction in the first upwind stencil for third-order WENO scheme |
|
Reconstruct the tracer (e.g., PV, vorticity) onto point i-1/2 using a fifth-order WENO scheme The reconstruction is weighted by the thickness |
|
Compute the smoothness indicator for the third upwind stencil of the fifth-order WENO scheme |
|
Compute the smoothness indicator for the second upwind stencil of the fifth-order WENO scheme |
|
Compute the smoothness indicator for the first upwind stencil of the fifth-order WENO scheme |
|
Reconstruction in the third upwind stencil of the fifth-order WENO scheme |
|
Reconstruction in the second upwind stencil of the fifth-order WENO scheme |
|
Reconstruction in the first upwind stencil of the fifth-order WENO scheme |
|
Reconstruct the tracer (e.g., PV, vorticity) onto point i-1/2 using a seventh-order WENO scheme This reconstruction computes a thickness weighted average of PV |
|
Compute the smoothness indicator for the fourth upwind stencil of the seventh-order WENO scheme |
|
Compute the smoothness indicator for the third upwind stencil of the seventh-order WENO scheme |
|
Compute the smoothness indicator for the second upwind stencil of the seventh-order WENO scheme |
|
Compute smoothness indicator for the first upwind stencil of the seventh-order WENO scheme |
|
Reconstruction in the fourth upwind stencil for seventh-order WENO scheme |
|
Reconstruction in the third upwind stencil for seventh-order WENO scheme |
|
Reconstruction in the second upwind stencil for seventh-order WENO scheme |
|
Reconstruction in the first upwind stencil for seventh-order WENO scheme |
|
Initializes the control structure for MOM_CoriolisAdv |
|
Destructor for coriolisadv_cs |
Detailed Description
This file contains the subroutine that calculates the time derivatives of the velocities due to Coriolis acceleration and momentum advection. This subroutine uses either a vorticity advection scheme from Arakawa and Hsu, Mon. Wea. Rev. 1990, or Sadourny's (JAS 1975) energy conserving scheme. Both have been modified to use general orthogonal coordinates as described in Arakawa and Lamb, Mon. Wea. Rev. 1981. Both schemes are second order accurate, and allow for vanishingly small layer thicknesses. The Arakawa and Hsu scheme globally conserves both total energy and potential enstrophy in the limit of nondivergent flow. Sadourny's energy conserving scheme conserves energy if the flow is nondivergent or centered difference thickness fluxes are used.
A small fragment of the grid is shown below:
j+1 x ^ x ^ x At x: q, CoriolisBu
j+1 > o > o > At ^: v, CAv, vh
j x ^ x ^ x At >: u, CAu, uh, a, b, c, d
j > o > o > At o: h, KE
j-1 x ^ x ^ x
i-1 i i+1 At x & ^:
i i+1 At > & o:
The boundaries always run through q grid points (x).
Type Documentation
- type, public :: CoriolisAdv_CS
Control structure for mom_coriolisadv
- Parameters
initialized
True if this control structure has been initialized.
Coriolis_Scheme
Selects the discretization for the Coriolis terms. Valid values are:
SADOURNY75_ENERGY - Sadourny, 1975
ARAKAWA_HSU90 - Arakawa & Hsu, 1990, Energy & non-div. Enstrophy
ROBUST_ENSTRO - Pseudo-enstrophy scheme
SADOURNY75_ENSTRO - Sadourny, JAS 1975, Enstrophy
ARAKAWA_LAMB81 - Arakawa & Lamb, MWR 1981, Energy & Enstrophy
ARAKAWA_LAMB_BLEND - A blend of Arakawa & Lamb with Arakawa & Hsu and Sadourny energy.
WENOVI3RD_PV_ENSTRO - 3rd-order WENO scheme for PV reconstruction
WENOVI5TH_PV_ENSTRO - 5th-order WENO scheme for PV reconstruction
WENOVI7TH_PV_ENSTRO - 7th-order WENO scheme for PV reconstruction The default, SADOURNY75_ENERGY, is the safest choice then the deformation radius is poorly resolved.
KE_Scheme
KE_SCHEME selects the discretization for the kinetic energy. Valid values are: KE_ARAKAWA, KE_SIMPLE_GUDONOV, KE_GUDONOV
KE_use_limiter
If true, use the Koren limiter for KE_UP3 scheme
PV_Adv_Scheme
PV_ADV_SCHEME selects the discretization for PV advection Valid values are:
PV_ADV_CENTERED - centered (aka Sadourny, 75)
PV_ADV_UPWIND1 - upwind, first order
nkblock
The k block size used in Coriolis/advection calculations [nondim].
F_eff_max_blend
The factor by which the maximum effective Coriolis acceleration from any point can be increased when blending different discretizations with the ARAKAWA_LAMB_BLEND Coriolis scheme [nondim]. This must be greater than 2.0, and is 4.0 by default.
wt_lin_blend
A weighting value beyond which the blending between Sadourny and Arakawa & Hsu goes linearly to 0 [nondim]. This must be between 1 and 1e-15, often 1/8.
no_slip
If true, no slip boundary conditions are used. Otherwise free slip boundary conditions are assumed. The implementation of the free slip boundary conditions on a C-grid is much cleaner than the no slip boundary conditions. The use of free slip b.c.s is strongly encouraged. The no slip b.c.s are not implemented with the biharmonic viscosity.
bound_Coriolis
If true, the Coriolis terms at u points are bounded by the four estimates of (f+rv)v from the four neighboring v points, and similarly at v points. This option would have no effect on the SADOURNY75_ENERGY scheme if it were possible to use centered difference thickness fluxes.
Coriolis_En_Dis
If CORIOLIS_EN_DIS is defined, two estimates of the thickness fluxes are used to estimate the Coriolis term, and the one that dissipates energy relative to the other one is used. This is only available at present if Coriolis scheme is SADOURNY75_ENERGY.
weno_velocity_smooth
If true, use velocity to compute the smoothness indicator for WENO
Time
A pointer to the ocean model's clock.
id_rv
Diagnostic IDs
id_PV
Diagnostic IDs
id_gKEu
Diagnostic IDs
id_gKEv
Diagnostic IDs
id_rvxu
Diagnostic IDs
id_rvxv
Diagnostic IDs
id_hf_gKEu_2d
Diagnostic IDs
id_hf_gKEv_2d
Diagnostic IDs
id_intz_gKEu_2d
Diagnostic IDs
id_intz_gKEv_2d
Diagnostic IDs
id_hf_rvxu_2d
Diagnostic IDs
id_hf_rvxv_2d
Diagnostic IDs
id_h_gKEu
Diagnostic IDs
id_h_gKEv
Diagnostic IDs
id_h_rvxu
Diagnostic IDs
id_h_rvxv
Diagnostic IDs
id_intz_rvxu_2d
Diagnostic IDs
id_intz_rvxv_2d
Diagnostic IDs
id_CAuS
Diagnostic IDs
id_CAvS
Diagnostic IDs
Functions/Subroutine Documentation
- subroutine CorAdCalc(u, v, h, uh, vh, CAu, CAv, OBC, AD, G, GV, US, CS, pbv, Waves)
Calculate the Coriolis and momentum advection contributions to the acceleration.
- Parameters
G [in]
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]
h [in]
Layer thickness [H ~> m or kg m-2]
uh [in]
Zonal transport u*h*dy [H L2 T-1 ~> m3 s-1 or kg s-1]
vh [in]
Meridional transport v*h*dx [H L2 T-1 ~> m3 s-1 or kg s-1]
CAu [out]
Zonal acceleration due to Coriolis and momentum advection [L T-2 ~> m s-2]
CAv [out]
Meridional acceleration due to Coriolis and momentum advection [L T-2 ~> m s-2]
OBC [in]
Open boundary control structure
AD [inout]
Storage for acceleration diagnostics
US [in]
A dimensional unit scaling type
CS [in]
Control structure for MOM_CoriolisAdv
pbv [in]
porous barrier fractional cell metrics
Waves [in]
An optional pointer to Stokes drift CS
Callers call graph
Text view
mom_dynamics_split_rk2::initialize_dyn_split_rk2 → mom_coriolisadv::coradcalc
mom_dynamics_split_rk2::step_mom_dyn_split_rk2 → mom_coriolisadv::coradcalc
mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b → mom_coriolisadv::coradcalc
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_coriolisadv::coradcalc
mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2 → mom_coriolisadv::coradcalc
- subroutine CorAdCalc_block(u, v, h, uh, vh, CAu, CAv, OBC, AD, G, GV, US, CS, nkk, pbv, Waves)
Calculate the Coriolis and momentum advection contributions to the acceleration for a k block size.
- Parameters
G [in]
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]
h [in]
Layer thickness [H ~> m or kg m-2]
uh [in]
Zonal transport u*h*dy [H L2 T-1 ~> m3 s-1 or kg s-1]
vh [in]
Meridional transport v*h*dx [H L2 T-1 ~> m3 s-1 or kg s-1]
CAu [out]
Zonal acceleration due to Coriolis and momentum advection [L T-2 ~> m s-2].
CAv [out]
Meridional acceleration due to Coriolis and momentum advection [L T-2 ~> m s-2].
OBC [in]
Open boundary control structure
AD [inout]
Storage for acceleration diagnostics
US [in]
A dimensional unit scaling type
CS [in]
Control structure for MOM_CoriolisAdv
nkk [in]
Resolved k block size [nondim].
pbv [in]
porous barrier fractional cell metrics
Waves [in]
An optional pointer to Stokes drift CS
Callees call graph
Text view
mom_coriolisadv::coradcalc_block → mom_coriolisadv::coriolisadv_stencil
mom_coriolisadv::coradcalc_block → mom_coriolisadv::weno_five_h_weight_reconstruction
mom_coriolisadv::coradcalc_block → mom_coriolisadv::weno_seven_h_weight_reconstruction
mom_coriolisadv::coradcalc_block → mom_coriolisadv::weno_three_h_weight_reconstruction
mom_coriolisadv::coradcalc_block → mom_diag_mediator::interface::post_data
mom_coriolisadv::coradcalc_block → mom_diag_mediator::post_product_sum_u
mom_coriolisadv::coradcalc_block → mom_diag_mediator::post_product_sum_v
mom_coriolisadv::coradcalc_block → mom_diag_mediator::post_product_u
mom_coriolisadv::coradcalc_block → mom_diag_mediator::post_product_v
mom_coriolisadv::coradcalc_block → mom_diag_mediator::query_averaging_enabled
mom_coriolisadv::coradcalc_block → mom_error_handler::mom_error
- subroutine gradKE(u, v, h, KE, KEx, KEy, ksb, keb, nkk, G, GV, US, CS)
Calculates the acceleration due to the gradient of kinetic energy for a k-block.
- Parameters
G [in]
Ocean grid structure
GV [in]
Vertical grid structure
ksb [in]
First layer in the k-block [nondim].
keb [in]
Last layer in the k-block [nondim].
nkk [in]
Size of the k-block [nondim].
u [in]
Zonal velocity [L T-1 ~> m s-1]
v [in]
Meridional velocity [L T-1 ~> m s-1]
h [in]
Layer thickness [H ~> m or kg m-2]
KE [out]
Kinetic energy per unit mass [L2 T-2 ~> m2 s-2]
KEx [out]
Zonal acceleration due to kinetic energy gradient [L T-2 ~> m s-2]
KEy [out]
Meridional acceleration due to kinetic energy gradient [L T-2 ~> m s-2]
US [in]
A dimensional unit scaling type
CS [in]
Control structure for MOM_CoriolisAdv
Callees call graph
- subroutine UP3_reconstruction(q4, u, qr)
Reconstruct the scalar (e.g., pv, vorticity) onto point i-1/2 using a third-order upwind scheme
- Parameters
q4 [in]
Tracer values on points i-2, i-1, i, i+1 [A ~> a]
u [in]
Velocity or thickness flux on point i-1/2 [l t-1 ~> m s-1] or [l2 t-1 ~> m2 s-1]
qr [inout]
Reconstruction of tracer q at point i-1/2 [A ~> a]
- subroutine UP3_Koren_limiter_reconstruction(q4, u, qr)
Reconstruct the scalar (e.g., PV, vorticity) onto point i-1/2 using a third-order upwind scheme with the Koren flux limiter
- Parameters
q4 [in]
Tracer values on points i-2, i-1, i, i+1 [A ~> a]
u [in]
Velocity or thickness flux on point i-1/2 [L T-1 ~> m s-1] or [L2 T-1 ~> m2 s-1]
qr [inout]
Reconstruction of tracer q on point i-1/2 [A ~> a]
Callers call graph
- function fac_fn(tau, b) result(fac)
Compute the factor for the WENO weights
- Parameters
tau [in]
Difference of the smoothness indicator [A ~> a]
b [in]
The smoothness indicator [A ~> a]
fac
The factor for the weight [nondim]
- subroutine weno_three_h_weight_reconstruction(q4, h4, u4, h_tiny, u, qr, velocity_smoothing)
Reconstruct the tracer (e.g., PV, vorticity) onto the point i-1/2 using a third-order WENO scheme This reconstruction is thickness-weighted
- Parameters
q4 [in]
Tracer value times thickness on points i-2, i-1, i, i+1 [A ~> a]
h4 [in]
Thickness values on points i-2, i-1, i, i+1 [L ~> m]
u4 [in]
Velocity values on points i-2, i-1, i, i+1 [L T-1 ~> m s-1]
h_tiny [in]
A tiny thickness to prevent division by zero [L ~> m]
u [in]
Velocity or thickness flux on point i-1/2 [L T-1 ~> m s-1] or [L2 T-1 ~> m2 s-1]
qr [inout]
Reconstruction of tracer q on point i-1/2 [A ~> a]
velocity_smoothing [in]
If true, use velocity to compute smoothness indicator
Callees call graph
Text view
mom_coriolisadv::weno_three_h_weight_reconstruction → mom_coriolisadv::fac_fn
mom_coriolisadv::weno_three_h_weight_reconstruction → mom_coriolisadv::weno_three_reconstruction_0
mom_coriolisadv::weno_three_h_weight_reconstruction → mom_coriolisadv::weno_three_reconstruction_1
mom_coriolisadv::weno_three_h_weight_reconstruction → mom_coriolisadv::weno_three_weight
Callers call graph
- subroutine weno_three_weight(q2, w0)
Compute the smoothness indicator for the two-point stencil of the third-order WENO scheme
- Parameters
q2 [in]
Tracer values on the two-point stencil [A ~> a]
w0 [inout]
Smoothness indicator for this stencil [A2 ~> a2]
Callers call graph
- subroutine weno_three_reconstruction_0(q2, w0)
Reconstruction in the second upwind stencil of the third-order WENO scheme
- Parameters
q2 [in]
Tracer values on the two-point stencil [A ~> a]
w0 [inout]
Reconstruction of the quantity [A2 ~> a2]
Callers call graph
- subroutine weno_three_reconstruction_1(q2, w0)
Reconstruction in the first upwind stencil for third-order WENO scheme
- Parameters
q2 [in]
Tracer values on the two-point stencil [A ~> a]
w0 [inout]
Reconstruction of the quantity [A ~> a]
Callers call graph
- subroutine weno_five_h_weight_reconstruction(q6, h6, u6, h_tiny, u, qr, velocity_smoothing)
Reconstruct the tracer (e.g., PV, vorticity) onto point i-1/2 using a fifth-order WENO scheme The reconstruction is weighted by the thickness
- Parameters
q6 [in]
Tracer values on points i-3, i-2, i-1, i, i+1, i+2 [A ~> a]
h6 [in]
Thickness values on points i-3, i-2, i-1, i, i+1, i+2 [L ~> m]
u6 [in]
Velocity values on points i-3, i-2, i-1, i, i+1, i+2 [L T-1 ~> m s-1]
h_tiny [in]
A tiny thickness to prevent division by zero [L ~> m]
u [in]
Velocity or thickness flux on point i-1/2 [L T-1 ~> m s-1] or [L2 T-1 ~> m2 s-1]
velocity_smoothing [in]
If ture, use velocity to compute the smoothness indicator
qr [inout]
Reconstruction of tracer q on point i-1/2 [A ~> a]
Callees call graph
Text view
mom_coriolisadv::weno_five_h_weight_reconstruction → mom_coriolisadv::fac_fn
mom_coriolisadv::weno_five_h_weight_reconstruction → mom_coriolisadv::weno_five_reconstruction_0
mom_coriolisadv::weno_five_h_weight_reconstruction → mom_coriolisadv::weno_five_reconstruction_1
mom_coriolisadv::weno_five_h_weight_reconstruction → mom_coriolisadv::weno_five_reconstruction_2
mom_coriolisadv::weno_five_h_weight_reconstruction → mom_coriolisadv::weno_five_weight_0
mom_coriolisadv::weno_five_h_weight_reconstruction → mom_coriolisadv::weno_five_weight_1
mom_coriolisadv::weno_five_h_weight_reconstruction → mom_coriolisadv::weno_five_weight_2
Callers call graph
- subroutine weno_five_weight_0(q3, w0)
Compute the smoothness indicator for the third upwind stencil of the fifth-order WENO scheme
- Parameters
q3 [in]
Tracer values on the three-point stencil [A ~> a]
w0 [inout]
Smoothness indicator for this stencil [A2 ~> a2]
Callers call graph
- subroutine weno_five_weight_1(q3, w1)
Compute the smoothness indicator for the second upwind stencil of the fifth-order WENO scheme
- Parameters
q3 [in]
Tracer values on the three-point stencil [A ~> a]
w1 [inout]
Smoothness indicator for this stencil [A2 ~> a2]
Callers call graph
- subroutine weno_five_weight_2(q3, w2)
Compute the smoothness indicator for the first upwind stencil of the fifth-order WENO scheme
- Parameters
q3 [in]
Tracer values on the three-point stencil [A ~> a]
w2 [inout]
Smoothness indicator for this stencil [A2 ~> a2]
Callers call graph
- subroutine weno_five_reconstruction_0(q3, p0)
Reconstruction in the third upwind stencil of the fifth-order WENO scheme
- Parameters
q3 [in]
Tracer values on three points [A ~> a]
p0 [inout]
Reconstruction of the quantity [A ~> a]
Callers call graph
- subroutine weno_five_reconstruction_1(q3, p1)
Reconstruction in the second upwind stencil of the fifth-order WENO scheme
- Parameters
q3 [in]
Tracer values on the three-point stencil [A ~> a]
p1 [inout]
Reconstruction of the quantity [A ~> a]
Callers call graph
- subroutine weno_five_reconstruction_2(q3, p2)
Reconstruction in the first upwind stencil of the fifth-order WENO scheme
- Parameters
q3 [in]
Tracer values on the three-point stencil [A ~> a]
p2 [inout]
Reconstruction of the quantity [A ~> a]
Callers call graph
- subroutine weno_seven_h_weight_reconstruction(q8, h8, u8, h_tiny, u, qr, velocity_smoothing)
Reconstruct the tracer (e.g., PV, vorticity) onto point i-1/2 using a seventh-order WENO scheme This reconstruction computes a thickness weighted average of PV
- Parameters
q8 [in]
Tracer values on points i-4, i-3, i-2, i-1, i, i+1, i+2, i+3
h8 [in]
Thickness on the same tracer points i-4, i-3, i-2, i-1, i, i+1, i+2, i+3 [L ~> m]
u8 [in]
Velocity values on points i-4, i-3, i-2, i-1, i, i+1, i+2, i+3 [L T-1 ~> m s-1]
h_tiny [in]
A tiny thickness to prevent division by zero [L ~> m]
u [in]
Velocity or thickness flux on point i-1/2 [L T-1 ~> m s-1] or [L2 T-1 ~> m2 s-1]
velocity_smoothing [in]
If true, use velocity to compute the smoothness indicator
qr [inout]
Reconstruction of tracer q on point i-1/2 [A ~> a]
Callees call graph
Text view
mom_coriolisadv::weno_seven_h_weight_reconstruction → mom_coriolisadv::fac_fn
mom_coriolisadv::weno_seven_h_weight_reconstruction → mom_coriolisadv::weno_seven_reconstruction_0
mom_coriolisadv::weno_seven_h_weight_reconstruction → mom_coriolisadv::weno_seven_reconstruction_1
mom_coriolisadv::weno_seven_h_weight_reconstruction → mom_coriolisadv::weno_seven_reconstruction_2
mom_coriolisadv::weno_seven_h_weight_reconstruction → mom_coriolisadv::weno_seven_reconstruction_3
mom_coriolisadv::weno_seven_h_weight_reconstruction → mom_coriolisadv::weno_seven_weight_0
mom_coriolisadv::weno_seven_h_weight_reconstruction → mom_coriolisadv::weno_seven_weight_1
mom_coriolisadv::weno_seven_h_weight_reconstruction → mom_coriolisadv::weno_seven_weight_2
mom_coriolisadv::weno_seven_h_weight_reconstruction → mom_coriolisadv::weno_seven_weight_3
Callers call graph
- subroutine weno_seven_weight_0(q4, w0)
Compute the smoothness indicator for the fourth upwind stencil of the seventh-order WENO scheme
- Parameters
q4 [in]
Tracer values on the four-point stencil [A ~> a]
w0 [inout]
Smoothness indicator for this stencil [A2 ~> a2]
Callers call graph
- subroutine weno_seven_weight_1(q4, w1)
Compute the smoothness indicator for the third upwind stencil of the seventh-order WENO scheme
- Parameters
q4 [in]
Tracer values on the four-point stencil [A ~> a]
w1 [inout]
Smoothness indicator for this stencil [A2 ~> a2]
Callers call graph
- subroutine weno_seven_weight_2(q4, w2)
Compute the smoothness indicator for the second upwind stencil of the seventh-order WENO scheme
- Parameters
q4 [in]
Tracer values on the four-point stencil [A ~> a]
w2 [inout]
Smoothness indicator for this stencil [A2 ~> a2]
Callers call graph
- subroutine weno_seven_weight_3(q4, w3)
Compute smoothness indicator for the first upwind stencil of the seventh-order WENO scheme
- Parameters
q4 [in]
Tracer values on the four-point stencil [A ~> a]
w3 [inout]
Smoothness indicator for this stencil [A2 ~> a2]
Callers call graph
- subroutine weno_seven_reconstruction_0(q4, p0)
Reconstruction in the fourth upwind stencil for seventh-order WENO scheme
- Parameters
q4 [in]
Tracer values on the four-point stencil [A ~> a]
p0 [inout]
Reconstruction of the quantity [A ~> a]
Callers call graph
- subroutine weno_seven_reconstruction_1(q4, p1)
Reconstruction in the third upwind stencil for seventh-order WENO scheme
- Parameters
q4 [in]
Tracer values on the four-point stencil [A ~> a]
p1 [inout]
Reconstruction of the quantity [A ~> a]
Callers call graph
- subroutine weno_seven_reconstruction_2(q4, p2)
Reconstruction in the second upwind stencil for seventh-order WENO scheme
- Parameters
q4 [in]
Tracer values on the four-point stencil [A ~> a]
p2 [inout]
Reconstruction of the quantity [A ~> a]
Callers call graph
- subroutine weno_seven_reconstruction_3(q4, p3)
Reconstruction in the first upwind stencil for seventh-order WENO scheme
- Parameters
q4 [in]
Tracer values on the four-point stencil [A ~> a]
p3 [inout]
Reconstruction of the quantity [A ~> a]
Callers call graph
function CoriolisAdv_stencil(CS) result(stencil)
- Parameters
CS [in]
Control structure for MOM_CoriolisAdv
stencil
The halo stencil size for the Coriolis advection scheme
Callers call graph
Text view
mom_coriolisadv::coradcalc_block → mom_coriolisadv::coriolisadv_stencil
mom_dynamics_split_rk2::initialize_dyn_split_rk2 → mom_coriolisadv::coriolisadv_stencil
mom_dynamics_split_rk2::step_mom_dyn_split_rk2 → mom_coriolisadv::coriolisadv_stencil
mom_dynamics_split_rk2b::initialize_dyn_split_rk2b → mom_coriolisadv::coriolisadv_stencil
mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b → mom_coriolisadv::coriolisadv_stencil
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_coriolisadv::coriolisadv_stencil
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_coriolisadv::coriolisadv_stencil
mom_dynamics_unsplit_rk2::initialize_dyn_unsplit_rk2 → mom_coriolisadv::coriolisadv_stencil
mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2 → mom_coriolisadv::coriolisadv_stencil
- subroutine CoriolisAdv_init(Time, G, GV, US, param_file, diag, AD, CS)
Initializes the control structure for MOM_CoriolisAdv
- 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]
Runtime parameter handles
diag [inout]
Diagnostics control structure
AD [inout]
Storage for acceleration diagnostics
CS [inout]
Control structure for MOM_CoriolisAdv
Callees call graph
Text view
mom_coriolisadv::coriolisadv_init → mom_diag_mediator::register_diag_field
mom_coriolisadv::coriolisadv_init → mom_error_handler::mom_error
mom_coriolisadv::coriolisadv_init → mom_error_handler::mom_mesg
mom_coriolisadv::coriolisadv_init → mom_file_parser::interface::get_param
mom_coriolisadv::coriolisadv_init → mom_file_parser::interface::log_version
mom_coriolisadv::coriolisadv_init → mom_safe_alloc::interface::safe_alloc_ptr
mom_coriolisadv::coriolisadv_init → mom_string_functions::uppercase
Callers call graph
Text view
mom_dynamics_split_rk2::initialize_dyn_split_rk2 → mom_coriolisadv::coriolisadv_init
mom_dynamics_split_rk2b::initialize_dyn_split_rk2b → mom_coriolisadv::coriolisadv_init
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_coriolisadv::coriolisadv_init
mom_dynamics_unsplit_rk2::initialize_dyn_unsplit_rk2 → mom_coriolisadv::coriolisadv_init
- subroutine CoriolisAdv_end(CS)
Destructor for coriolisadv_cs
- Parameters
CS [inout]
Control structure for MOM_CoriolisAdv