MOM_checksum_packages module reference
Provides routines that do checksums of groups of MOM variables
Data Types
A type for storing statistica about a variable |
Generic Interfaces
Write out checksums of the MOM6 state variables |
Functions/Subroutines
Write out chksums for the model's basic state variables, including transports. |
|
Write out chksums for the model's basic state variables. |
|
Write out chksums for the model's thermodynamic state variables. |
|
Write out chksums for the ocean surface variables. |
|
Write out chksums for the model's accelerations |
|
Monitor and write out statistics for the model's state variables. |
Type Documentation
- type :: stats
A type for storing statistica about a variable
- Parameters
minimum
The minimum value [degC] or [ppt] or other units
maximum
The maximum value [degC] or [ppt] or other units
average
The average value [degC] or [ppt] or other units
Generic Interface Documentation
- interface MOM_state_chksum
Write out checksums of the MOM6 state variables
Callers call graph
Text view
mom::ale_regridding_and_remapping → mom_checksum_packages::interface::mom_state_chksum
mom::step_mom → mom_checksum_packages::interface::mom_state_chksum
mom_diabatic_driver::diabatic → mom_checksum_packages::interface::mom_state_chksum
mom_diabatic_driver::diabatic_ale → mom_checksum_packages::interface::mom_state_chksum
mom_diabatic_driver::diabatic_ale_legacy → mom_checksum_packages::interface::mom_state_chksum
mom_diabatic_driver::layered_diabatic → mom_checksum_packages::interface::mom_state_chksum
mom_dynamics_split_rk2::step_mom_dyn_split_rk2 → mom_checksum_packages::interface::mom_state_chksum
mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b → mom_checksum_packages::interface::mom_state_chksum
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_checksum_packages::interface::mom_state_chksum
mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2 → mom_checksum_packages::interface::mom_state_chksum
Functions/Subroutine Documentation
- subroutine MOM_state_chksum_5arg(mesg, u, v, h, uh, vh, G, GV, US, haloshift, symmetric, omit_corners, vel_scale)
Write out chksums for the model's basic state variables, including transports.
- Parameters
mesg [in]
A message that appears on the chksum lines.
G [in]
The ocean's grid structure.
GV [in]
The ocean's vertical grid structure.
u [in]
The zonal velocity [L T-1 ~> m s-1] or other units.
v [in]
The meridional velocity [L T-1 ~> m s-1] or other units.
h [in]
Layer thicknesses [H ~> m or kg m-2].
uh [in]
Volume flux through zonal faces = u*h*dy [H L2 T-1 ~> m3 s-1 or kg s-1].
vh [in]
Volume flux through meridional faces = v*h*dx [H L2 T-1 ~> m3 s-1 or kg s-1].
US [in]
A dimensional unit scaling type
haloshift [in]
The width of halos to check (default 0).
symmetric [in]
If true, do checksums on the fully symmetric computational domain.
omit_corners [in]
If true, avoid checking diagonal shifts
vel_scale [in]
The scaling factor to convert velocities to [T m L-1 s-1 ~> 1]
- subroutine MOM_state_chksum_3arg(mesg, u, v, h, G, GV, US, haloshift, symmetric, omit_corners)
Write out chksums for the model's basic state variables.
- Parameters
mesg [in]
A message that appears on the chksum lines.
G [in]
The ocean's grid structure.
GV [in]
The ocean's vertical grid structure.
u [in]
Zonal velocity [L T-1 ~> m s-1] or [m s-1].
v [in]
Meridional velocity [L T-1 ~> m s-1] or [m s-1]..
h [in]
Layer thicknesses [H ~> m or kg m-2].
US [in]
A dimensional unit scaling type, which is used to rescale u and v if present.
haloshift [in]
The width of halos to check (default 0).
symmetric [in]
If true, do checksums on the fully symmetric computational domain.
omit_corners [in]
If true, avoid checking diagonal shifts
- subroutine MOM_thermo_chksum(mesg, tv, G, US, haloshift, omit_corners)
Write out chksums for the model's thermodynamic state variables.
- Parameters
mesg [in]
A message that appears on the chksum lines.
tv [in]
A structure pointing to various thermodynamic variables.
G [in]
The ocean's grid structure.
US [in]
A dimensional unit scaling type
haloshift [in]
The width of halos to check (default 0).
omit_corners [in]
If true, avoid checking diagonal shifts
Callees call graph
- subroutine MOM_surface_chksum(mesg, sfc_state, G, US, haloshift, symmetric)
Write out chksums for the ocean surface variables.
- Parameters
mesg [in]
A message that appears on the chksum lines.
sfc_state [inout]
transparent ocean surface state structure shared with the calling routine data in this structure is intent out.
G [in]
The ocean's grid structure.
US [in]
A dimensional unit scaling type
haloshift [in]
The width of halos to check (default 0).
symmetric [in]
If true, do checksums on the fully symmetric computational domain.
Callees call graph
- subroutine MOM_accel_chksum(mesg, CAu, CAv, PFu, PFv, diffu, diffv, G, GV, US, pbce, u_accel_bt, v_accel_bt, symmetric)
Write out chksums for the model's accelerations
- Parameters
mesg [in]
A message that appears on the chksum lines.
G [in]
The ocean's grid structure.
GV [in]
The ocean's vertical grid structure.
CAu [in]
Zonal acceleration due to Coriolis and momentum advection terms [L T-2 ~> m s-2].
CAv [in]
Meridional acceleration due to Coriolis and momentum advection terms [L T-2 ~> m s-2].
PFu [in]
Zonal acceleration due to pressure gradients (equal to -dM/dx) [L T-2 ~> m s-2].
PFv [in]
Meridional acceleration due to pressure gradients (equal to -dM/dy) [L T-2 ~> m s-2].
diffu [in]
Zonal acceleration due to convergence of the along-isopycnal stress tensor [L T-2 ~> m s-2].
diffv [in]
Meridional acceleration due to convergence of the along-isopycnal stress tensor [L T-2 ~> m s-2].
US [in]
A dimensional unit scaling type
pbce [in]
The baroclinic pressure anomaly in each layer due to free surface height anomalies [L2 T-2 H-1 ~> m s-2 or m4 s-2 kg-1].
u_accel_bt [in]
The zonal acceleration from terms in the barotropic solver [L T-2 ~> m s-2].
v_accel_bt [in]
The meridional acceleration from terms in the barotropic solver [L T-2 ~> m s-2].
symmetric [in]
If true, do checksums on the fully symmetric computational domain.
Callees call graph
Callers call graph
Text view
mom_dynamics_split_rk2::step_mom_dyn_split_rk2 → mom_checksum_packages::mom_accel_chksum
mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b → mom_checksum_packages::mom_accel_chksum
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_checksum_packages::mom_accel_chksum
mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2 → mom_checksum_packages::mom_accel_chksum
- subroutine MOM_state_stats(mesg, u, v, h, Temp, Salt, G, GV, US, allowChange, permitDiminishing)
Monitor and write out statistics for the model's state variables.
- Parameters
G [in]
The ocean's grid structure.
GV [in]
The ocean's vertical grid structure.
mesg [in]
A message that appears on the chksum lines.
u [in]
The zonal velocity [L T-1 ~> m s-1].
v [in]
The meridional velocity [L T-1 ~> m s-1].
h [in]
Layer thicknesses [H ~> m or kg m-2].
Temp [in]
Temperature [C ~> degC].
Salt [in]
Salinity [S ~> ppt].
US [in]
A dimensional unit scaling type
allowChange [in]
do not flag an error if the statistics change.
permitDiminishing [in]
do not flag error if the extrema are diminishing.
Callees call graph
Text view
mom_checksum_packages::mom_state_stats → mom_coms::interface::reproducing_sum
mom_checksum_packages::mom_state_stats → mom_coms_infra::interface::max_across_pes
mom_checksum_packages::mom_state_stats → mom_coms_infra::interface::min_across_pes
mom_checksum_packages::mom_state_stats → mom_error_handler::mom_mesg
mom_checksum_packages::mom_state_stats → mom_error_infra::is_root_pe
Callers call graph
Text view
mom_diabatic_driver::diabatic → mom_checksum_packages::mom_state_stats
mom_diabatic_driver::diabatic_ale → mom_checksum_packages::mom_state_stats
mom_diabatic_driver::diabatic_ale_legacy → mom_checksum_packages::mom_state_stats
mom_diabatic_driver::layered_diabatic → mom_checksum_packages::mom_state_stats