MOM6
|
#include "version_variable.h"
Go to the source code of this file.
Data Types | |
interface | mom_checksums::hchksum_pair |
Checksums a pair of arrays (2d or 3d) staggered at tracer points. More... | |
interface | mom_checksums::uvchksum |
Checksums a pair velocity arrays (2d or 3d) staggered at C-grid locations. More... | |
interface | mom_checksums::uchksum |
Checksums an array (2d or 3d) staggered at C-grid u points. More... | |
interface | mom_checksums::vchksum |
Checksums an array (2d or 3d) staggered at C-grid v points. More... | |
interface | mom_checksums::bchksum_pair |
Checksums a pair of arrays (2d or 3d) staggered at corner points. More... | |
interface | mom_checksums::hchksum |
Checksums an array (2d or 3d) staggered at tracer points. More... | |
interface | mom_checksums::bchksum |
Checksums an array (2d or 3d) staggered at corner points. More... | |
interface | mom_checksums::qchksum |
This is an older interface that has been renamed Bchksum. More... | |
interface | mom_checksums::chksum |
This is an older interface for 1-, 2-, or 3-D checksums. More... | |
interface | mom_checksums::chk_sum_msg |
Write a message with either checksums or numerical statistics of arrays. More... | |
interface | mom_checksums::is_nan |
Returns .true. if any element of x is a NaN, and .false. otherwise. More... | |
Modules | |
module | mom_checksums |
Routines to calculate checksums of various array and vector types. | |
Functions/Subroutines | |
subroutine, public | mom_checksums::chksum0 (scalar, mesg, scale, logunit) |
Checksum a scalar field (consistent with array checksums) More... | |
subroutine, public | mom_checksums::zchksum (array, mesg, scale, logunit) |
Checksum a 1d array (typically a column). More... | |
integer function | subchk (array, scale) |
subroutine | substats (array, aMean, aMin, aMax) |
subroutine | mom_checksums::chksum_pair_h_2d (mesg, arrayA, arrayB, HI, haloshift, omit_corners, scale, logunit) |
Checksums on a pair of 2d arrays staggered at tracer points. More... | |
subroutine | mom_checksums::chksum_pair_h_3d (mesg, arrayA, arrayB, HI, haloshift, omit_corners, scale, logunit) |
Checksums on a pair of 3d arrays staggered at tracer points. More... | |
subroutine | mom_checksums::chksum_h_2d (array, mesg, HI, haloshift, omit_corners, scale, logunit) |
Checksums a 2d array staggered at tracer points. More... | |
integer function | subchk (array, HI, di, dj, scale) |
subroutine | substats (HI, array, aMean, aMin, aMax) |
subroutine | mom_checksums::chksum_pair_b_2d (mesg, arrayA, arrayB, HI, haloshift, symmetric, omit_corners, scale, logunit) |
Checksums on a pair of 2d arrays staggered at q-points. More... | |
subroutine | mom_checksums::chksum_pair_b_3d (mesg, arrayA, arrayB, HI, haloshift, symmetric, omit_corners, scale, logunit) |
Checksums on a pair of 3d arrays staggered at q-points. More... | |
subroutine | mom_checksums::chksum_b_2d (array, mesg, HI, haloshift, symmetric, omit_corners, scale, logunit) |
Checksums a 2d array staggered at corner points. More... | |
integer function | subchk (array, HI, di, dj, scale) |
subroutine | substats (HI, array, sym_stats, aMean, aMin, aMax) |
subroutine | mom_checksums::chksum_uv_2d (mesg, arrayU, arrayV, HI, haloshift, symmetric, omit_corners, scale, logunit) |
Checksums a pair of 2d velocity arrays staggered at C-grid locations. More... | |
subroutine | mom_checksums::chksum_uv_3d (mesg, arrayU, arrayV, HI, haloshift, symmetric, omit_corners, scale, logunit) |
Checksums a pair of 3d velocity arrays staggered at C-grid locations. More... | |
subroutine | mom_checksums::chksum_u_2d (array, mesg, HI, haloshift, symmetric, omit_corners, scale, logunit) |
Checksums a 2d array staggered at C-grid u points. More... | |
integer function | subchk (array, HI, di, dj, scale) |
subroutine | substats (HI, array, sym_stats, aMean, aMin, aMax) |
subroutine | mom_checksums::chksum_v_2d (array, mesg, HI, haloshift, symmetric, omit_corners, scale, logunit) |
Checksums a 2d array staggered at C-grid v points. More... | |
integer function | subchk (array, HI, di, dj, scale) |
subroutine | substats (HI, array, sym_stats, aMean, aMin, aMax) |
subroutine | mom_checksums::chksum_h_3d (array, mesg, HI, haloshift, omit_corners, scale, logunit) |
Checksums a 3d array staggered at tracer points. More... | |
integer function | subchk (array, HI, di, dj, scale) |
subroutine | substats (HI, array, aMean, aMin, aMax) |
subroutine | mom_checksums::chksum_b_3d (array, mesg, HI, haloshift, symmetric, omit_corners, scale, logunit) |
Checksums a 3d array staggered at corner points. More... | |
integer function | subchk (array, HI, di, dj, scale) |
subroutine | substats (HI, array, sym_stats, aMean, aMin, aMax) |
subroutine | mom_checksums::chksum_u_3d (array, mesg, HI, haloshift, symmetric, omit_corners, scale, logunit) |
Checksums a 3d array staggered at C-grid u points. More... | |
integer function | subchk (array, HI, di, dj, scale) |
subroutine | substats (HI, array, sym_stats, aMean, aMin, aMax) |
subroutine | mom_checksums::chksum_v_3d (array, mesg, HI, haloshift, symmetric, omit_corners, scale, logunit) |
Checksums a 3d array staggered at C-grid v points. More... | |
integer function | subchk (array, HI, di, dj, scale) |
subroutine | substats (HI, array, sym_stats, aMean, aMin, aMax) |
subroutine | mom_checksums::chksum1d (array, mesg, start_i, end_i, compare_PEs) |
chksum1d does a checksum of a 1-dimensional array. More... | |
subroutine | mom_checksums::chksum2d (array, mesg) |
chksum2d does a checksum of all data in a 2-d array. More... | |
subroutine | mom_checksums::chksum3d (array, mesg) |
chksum3d does a checksum of all data in a 2-d array. More... | |
logical function | mom_checksums::is_nan_0d (x) |
This function returns .true. if x is a NaN, and .false. otherwise. More... | |
logical function | mom_checksums::is_nan_1d (x, skip_mpp) |
Returns .true. if any element of x is a NaN, and .false. otherwise. More... | |
logical function | mom_checksums::is_nan_2d (x) |
Returns .true. if any element of x is a NaN, and .false. otherwise. More... | |
logical function | mom_checksums::is_nan_3d (x) |
Returns .true. if any element of x is a NaN, and .false. otherwise. More... | |
subroutine | mom_checksums::chk_sum_msg1 (fmsg, bc0, mesg, iounit) |
Write a message including the checksum of the non-shifted array. More... | |
subroutine | mom_checksums::chk_sum_msg5 (fmsg, bc0, bcSW, bcSE, bcNW, bcNE, mesg, iounit) |
Write a message including checksums of non-shifted and diagonally shifted arrays. More... | |
subroutine | mom_checksums::chk_sum_msg_nsew (fmsg, bc0, bcN, bcS, bcE, bcW, mesg, iounit) |
Write a message including checksums of non-shifted and laterally shifted arrays. More... | |
subroutine | mom_checksums::chk_sum_msg_s (fmsg, bc0, bcS, mesg, iounit) |
Write a message including checksums of non-shifted and southward shifted arrays. More... | |
subroutine | mom_checksums::chk_sum_msg_w (fmsg, bc0, bcW, mesg, iounit) |
Write a message including checksums of non-shifted and westward shifted arrays. More... | |
subroutine | mom_checksums::chk_sum_msg2 (fmsg, bc0, bcSW, mesg, iounit) |
Write a message including checksums of non-shifted and southwestward shifted arrays. More... | |
subroutine | mom_checksums::chk_sum_msg3 (fmsg, aMean, aMin, aMax, mesg, iounit) |
Write a message including the global mean, maximum and minimum of an array. More... | |
subroutine, public | mom_checksums::mom_checksums_init (param_file) |
MOM_checksums_init initializes the MOM_checksums module. As it happens, the only thing that it does is to log the version of this module. More... | |
subroutine | mom_checksums::chksum_error (signal, message) |
A wrapper for MOM_error used in the checksum code. More... | |
integer function | mom_checksums::bitcount (x) |
Does a bitcount of a number by first casting to an integer and then using BTEST to check bit by bit. More... | |
Variables | |
integer, parameter | mom_checksums::bc_modulus = 1000000000 |
Modulus of checksum bitcount. More... | |
integer, parameter | mom_checksums::default_shift =0 |
The default array shift. More... | |
logical | mom_checksums::calculatestatistics =.true. |
If true, report min, max and mean. More... | |
logical | mom_checksums::writechksums =.true. |
If true, report the bitcount checksum. More... | |
logical | mom_checksums::checkfornans =.true. |
If true, checks array for NaNs and cause FATAL error is any are found. More... | |
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | di | i- direction array shift for this checksum |
[in] | dj | j- direction array shift for this checksum |
[in] | scale | A scaling factor for this array. |
Definition at line 335 of file MOM_checksums.F90.
References mom_checksums::bc_modulus, mom_checksums::bitcount(), and subchk().
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | di | i- direction array shift for this checksum |
[in] | dj | j- direction array shift for this checksum |
[in] | scale | A scaling factor for this array. |
Definition at line 542 of file MOM_checksums.F90.
References mom_checksums::bc_modulus, mom_checksums::bitcount(), and subchk().
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | di | i- direction array shift for this checksum |
[in] | dj | j- direction array shift for this checksum |
[in] | scale | A scaling factor for this array. |
Definition at line 753 of file MOM_checksums.F90.
References mom_checksums::bc_modulus, mom_checksums::bitcount(), and subchk().
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | di | i- direction array shift for this checksum |
[in] | dj | j- direction array shift for this checksum |
[in] | scale | A scaling factor for this array. |
Definition at line 907 of file MOM_checksums.F90.
References mom_checksums::bc_modulus, mom_checksums::bitcount(), and subchk().
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | di | i- direction array shift for this checksum |
[in] | dj | j- direction array shift for this checksum |
[in] | scale | A scaling factor for this array. |
Definition at line 1043 of file MOM_checksums.F90.
References mom_checksums::bc_modulus, mom_checksums::bitcount(), and subchk().
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | di | i- direction array shift for this checksum |
[in] | dj | j- direction array shift for this checksum |
[in] | scale | A scaling factor for this array. |
Definition at line 1194 of file MOM_checksums.F90.
References mom_checksums::bc_modulus, mom_checksums::bitcount(), and subchk().
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | di | i- direction array shift for this checksum |
[in] | dj | j- direction array shift for this checksum |
[in] | scale | A scaling factor for this array. |
Definition at line 1348 of file MOM_checksums.F90.
References mom_checksums::bc_modulus, mom_checksums::bitcount(), and subchk().
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | di | i- direction array shift for this checksum |
[in] | dj | j- direction array shift for this checksum |
[in] | scale | A scaling factor for this array. |
Definition at line 1502 of file MOM_checksums.F90.
References mom_checksums::bc_modulus, mom_checksums::bitcount(), and subchk().
|
private |
[in] | array | The array to be checksummed |
[in] | scale | A scaling factor for this array. |
Definition at line 167 of file MOM_checksums.F90.
References mom_checksums::bc_modulus, and mom_checksums::bitcount().
Referenced by mom_checksums::chksum_b_2d(), mom_checksums::chksum_b_3d(), mom_checksums::chksum_h_2d(), mom_checksums::chksum_h_3d(), mom_checksums::chksum_u_2d(), mom_checksums::chksum_u_3d(), mom_checksums::chksum_v_2d(), mom_checksums::chksum_v_3d(), subchk(), and mom_checksums::zchksum().
|
private |
[in] | array | The array to be checksummed |
Definition at line 179 of file MOM_checksums.F90.
Referenced by mom_checksums::chksum_b_2d(), mom_checksums::chksum_b_3d(), mom_checksums::chksum_h_2d(), mom_checksums::chksum_h_3d(), mom_checksums::chksum_u_2d(), mom_checksums::chksum_u_3d(), mom_checksums::chksum_v_2d(), mom_checksums::chksum_v_3d(), and mom_checksums::zchksum().
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
Definition at line 351 of file MOM_checksums.F90.
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
Definition at line 1059 of file MOM_checksums.F90.
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | sym_stats | If true, evaluate the statistics on the full symmetric computational domain. |
Definition at line 559 of file MOM_checksums.F90.
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | sym_stats | If true, evaluate the statistics on the full symmetric computational domain. |
Definition at line 770 of file MOM_checksums.F90.
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | sym_stats | If true, evaluate the statistics on the full symmetric computational domain. |
Definition at line 924 of file MOM_checksums.F90.
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | sym_stats | If true, evaluate the statistics on the full symmetric computational domain. |
Definition at line 1211 of file MOM_checksums.F90.
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | sym_stats | If true, evaluate the statistics on the full symmetric computational domain. |
Definition at line 1365 of file MOM_checksums.F90.
|
private |
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | sym_stats | If true, evaluate the statistics on the full symmetric computational domain. |
[out] | amax | Mean/min/max of array over domain |
Definition at line 1520 of file MOM_checksums.F90.