MOM6
|
Data Types | |
interface | bchksum |
interface | bchksum_pair |
interface | chk_sum_msg |
interface | chksum |
interface | hchksum |
interface | hchksum_pair |
interface | is_nan |
interface | qchksum |
interface | uchksum |
interface | uvchksum |
interface | vchksum |
Functions/Subroutines | |
subroutine | chksum_pair_h_2d (mesg, arrayA, arrayB, HI, haloshift, omit_corners, scale) |
subroutine | chksum_pair_h_3d (mesg, arrayA, arrayB, HI, haloshift, omit_corners, scale) |
subroutine | chksum_h_2d (array, mesg, HI, haloshift, omit_corners, scale) |
chksum_h_2d performs checksums on a 2d array staggered at tracer points. More... | |
subroutine | chksum_pair_b_2d (mesg, arrayA, arrayB, HI, haloshift, symmetric, omit_corners, scale) |
subroutine | chksum_pair_b_3d (mesg, arrayA, arrayB, HI, haloshift, symmetric, omit_corners, scale) |
subroutine | chksum_b_2d (array, mesg, HI, haloshift, symmetric, omit_corners, scale) |
chksum_B_2d performs checksums on a 2d array staggered at corner points. More... | |
subroutine | chksum_uv_2d (mesg, arrayU, arrayV, HI, haloshift, symmetric, omit_corners, scale) |
subroutine | chksum_uv_3d (mesg, arrayU, arrayV, HI, haloshift, symmetric, omit_corners, scale) |
subroutine | chksum_u_2d (array, mesg, HI, haloshift, symmetric, omit_corners, scale) |
chksum_u_2d performs checksums on a 2d array staggered at C-grid u points. More... | |
subroutine | chksum_v_2d (array, mesg, HI, haloshift, symmetric, omit_corners, scale) |
chksum_v_2d performs checksums on a 2d array staggered at C-grid v points. More... | |
subroutine | chksum_h_3d (array, mesg, HI, haloshift, omit_corners, scale) |
chksum_h_3d performs checksums on a 3d array staggered at tracer points. More... | |
subroutine | chksum_b_3d (array, mesg, HI, haloshift, symmetric, omit_corners, scale) |
chksum_B_3d performs checksums on a 3d array staggered at corner points. More... | |
subroutine | chksum_u_3d (array, mesg, HI, haloshift, symmetric, omit_corners, scale) |
chksum_u_3d performs checksums on a 3d array staggered at C-grid u points. More... | |
subroutine | chksum_v_3d (array, mesg, HI, haloshift, symmetric, omit_corners, scale) |
chksum_v_3d performs checksums on a 3d array staggered at C-grid v points. More... | |
subroutine | chksum1d (array, mesg, start_i, end_i, compare_PEs) |
chksum1d does a checksum of a 1-dimensional array. More... | |
subroutine | chksum2d (array, mesg) |
chksum2d does a checksum of all data in a 2-d array. More... | |
subroutine | chksum3d (array, mesg) |
chksum3d does a checksum of all data in a 2-d array. More... | |
logical function | is_nan_0d (x) |
This function returns .true. if x is a NaN, and .false. otherwise. More... | |
logical function | is_nan_1d (x, skip_mpp) |
This function returns .true. if any element of x is a NaN, and .false. otherwise. More... | |
logical function | is_nan_2d (x) |
This function returns .true. if any element of x is a NaN, and .false. otherwise. More... | |
logical function | is_nan_3d (x) |
This function returns .true. if any element of x is a NaN, and .false. otherwise. More... | |
subroutine | chk_sum_msg1 (fmsg, bc0, mesg) |
subroutine | chk_sum_msg5 (fmsg, bc0, bcSW, bcSE, bcNW, bcNE, mesg) |
subroutine | chk_sum_msg_nsew (fmsg, bc0, bcN, bcS, bcE, bcW, mesg) |
subroutine | chk_sum_msg_s (fmsg, bc0, bcS, mesg) |
subroutine | chk_sum_msg_w (fmsg, bc0, bcW, mesg) |
subroutine | chk_sum_msg2 (fmsg, bc0, bcSW, mesg) |
subroutine | chk_sum_msg3 (fmsg, aMean, aMin, aMax, mesg) |
subroutine, public | 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 | chksum_error (signal, message) |
Variables | |
integer, parameter | default_shift =0 |
logical | calculatestatistics =.true. |
logical | writechksums =.true. |
logical | checkfornans =.true. |
|
private |
Definition at line 1403 of file MOM_checksums.F90.
|
private |
Definition at line 1447 of file MOM_checksums.F90.
|
private |
Definition at line 1456 of file MOM_checksums.F90.
|
private |
Definition at line 1411 of file MOM_checksums.F90.
|
private |
Definition at line 1420 of file MOM_checksums.F90.
Referenced by chksum_b_2d(), chksum_b_3d(), chksum_h_2d(), chksum_h_3d(), chksum_u_2d(), chksum_u_3d(), chksum_v_2d(), and chksum_v_3d().
|
private |
Definition at line 1429 of file MOM_checksums.F90.
Referenced by chksum_v_2d(), and chksum_v_3d().
|
private |
Definition at line 1438 of file MOM_checksums.F90.
Referenced by chksum_u_2d(), and chksum_u_3d().
|
private |
chksum1d does a checksum of a 1-dimensional array.
[in] | array | The array to be summed (index starts at 1). |
[in] | mesg | An identifying message. |
[in] | start_i | The starting index for the sum (default 1) |
[in] | end_i | The ending index for the sum (default all) |
[in] | compare_pes | If true, compare across PEs instead of summing and list the root_PE value (default true) |
Definition at line 1201 of file MOM_checksums.F90.
|
private |
chksum2d does a checksum of all data in a 2-d array.
Definition at line 1261 of file MOM_checksums.F90.
|
private |
chksum3d does a checksum of all data in a 2-d array.
Definition at line 1290 of file MOM_checksums.F90.
|
private |
chksum_B_2d performs checksums on a 2d array staggered at corner points.
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | mesg | An identifying message |
[in] | haloshift | The width of halos to check (default 0) |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 285 of file MOM_checksums.F90.
References calculatestatistics, checkfornans, chk_sum_msg_nsew(), chksum_error(), default_shift, subchk(), substats(), and writechksums.
Referenced by chksum_pair_b_2d().
|
private |
chksum_B_3d performs checksums on a 3d array staggered at corner points.
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | mesg | An identifying message |
[in] | haloshift | The width of halos to check (default 0) |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 814 of file MOM_checksums.F90.
References calculatestatistics, checkfornans, chk_sum_msg_nsew(), chksum_error(), default_shift, subchk(), substats(), and writechksums.
Referenced by chksum_pair_b_3d().
|
private |
Definition at line 1479 of file MOM_checksums.F90.
Referenced by chksum_b_2d(), chksum_b_3d(), chksum_h_2d(), chksum_h_3d(), chksum_u_2d(), chksum_u_3d(), chksum_v_2d(), and chksum_v_3d().
|
private |
chksum_h_2d performs checksums on a 2d array staggered at tracer points.
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | mesg | An identifying message |
[in] | haloshift | The width of halos to check (default 0) |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 129 of file MOM_checksums.F90.
References calculatestatistics, checkfornans, chk_sum_msg_nsew(), chksum_error(), default_shift, mom_error_handler::is_root_pe(), subchk(), substats(), and writechksums.
Referenced by chksum_pair_h_2d().
|
private |
chksum_h_3d performs checksums on a 3d array staggered at tracer points.
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | mesg | An identifying message |
[in] | haloshift | The width of halos to check (default 0) |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 706 of file MOM_checksums.F90.
References calculatestatistics, checkfornans, chk_sum_msg_nsew(), chksum_error(), default_shift, subchk(), substats(), and writechksums.
Referenced by chksum_pair_h_3d().
|
private |
[in] | mesg | Identifying messages |
[in] | hi | A horizontal index type |
[in] | arrayb | The arrays to be checksummed |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | haloshift | The width of halos to check (default 0) |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 236 of file MOM_checksums.F90.
References chksum_b_2d().
|
private |
[in] | mesg | Identifying messages |
[in] | hi | A horizontal index type |
[in] | arrayb | The arrays to be checksummed |
[in] | haloshift | The width of halos to check (default 0) |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 261 of file MOM_checksums.F90.
References chksum_b_3d().
|
private |
[in] | mesg | Identifying messages |
[in] | hi | A horizontal index type |
[in] | arrayb | The arrays to be checksummed |
[in] | haloshift | The width of halos to check (default 0) |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 92 of file MOM_checksums.F90.
References chksum_h_2d().
|
private |
[in] | mesg | Identifying messages |
[in] | hi | A horizontal index type |
[in] | arrayb | The arrays to be checksummed |
[in] | haloshift | The width of halos to check (default 0) |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 110 of file MOM_checksums.F90.
References chksum_h_3d().
|
private |
chksum_u_2d performs checksums on a 2d array staggered at C-grid u points.
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | mesg | An identifying message |
[in] | haloshift | The width of halos to check (default 0) |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 450 of file MOM_checksums.F90.
References calculatestatistics, checkfornans, chk_sum_msg_nsew(), chk_sum_msg_w(), chksum_error(), default_shift, subchk(), substats(), and writechksums.
Referenced by chksum_uv_2d().
|
private |
chksum_u_3d performs checksums on a 3d array staggered at C-grid u points.
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | mesg | An identifying message |
[in] | haloshift | The width of halos to check (default 0) |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 941 of file MOM_checksums.F90.
References calculatestatistics, checkfornans, chk_sum_msg_nsew(), chk_sum_msg_w(), chksum_error(), default_shift, subchk(), substats(), and writechksums.
Referenced by chksum_uv_3d().
|
private |
[in] | mesg | Identifying messages |
[in] | hi | A horizontal index type |
[in] | arrayu | The u-component array to be checksummed |
[in] | arrayv | The v-component array to be checksummed |
[in] | haloshift | The width of halos to check (default 0) |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for these arrays. |
Definition at line 409 of file MOM_checksums.F90.
References chksum_u_2d(), and chksum_v_2d().
|
private |
[in] | mesg | Identifying messages |
[in] | hi | A horizontal index type |
[in] | arrayu | The u-component array to be checksummed |
[in] | arrayv | The v-component array to be checksummed |
[in] | haloshift | The width of halos to check (default 0) |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for these arrays. |
Definition at line 429 of file MOM_checksums.F90.
References chksum_u_3d(), and chksum_v_3d().
|
private |
chksum_v_2d performs checksums on a 2d array staggered at C-grid v points.
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | mesg | An identifying message |
[in] | haloshift | The width of halos to check (default 0) |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 578 of file MOM_checksums.F90.
References calculatestatistics, checkfornans, chk_sum_msg_nsew(), chk_sum_msg_s(), chksum_error(), default_shift, subchk(), substats(), and writechksums.
Referenced by chksum_uv_2d().
|
private |
chksum_v_3d performs checksums on a 3d array staggered at C-grid v points.
[in] | hi | A horizontal index type |
[in] | array | The array to be checksummed |
[in] | mesg | An identifying message |
[in] | haloshift | The width of halos to check (default 0) |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 1069 of file MOM_checksums.F90.
References calculatestatistics, checkfornans, chk_sum_msg_nsew(), chk_sum_msg_s(), chksum_error(), default_shift, subchk(), substats(), and writechksums.
Referenced by chksum_uv_3d().
|
private |
This function returns .true. if x is a NaN, and .false. otherwise.
[in] | x | The value to be checked for NaNs. |
Definition at line 1322 of file MOM_checksums.F90.
Referenced by is_nan_1d(), is_nan_2d(), and is_nan_3d().
|
private |
This function returns .true. if any element of x is a NaN, and .false. otherwise.
[in] | x | The array to be checked for NaNs. |
skip_mpp | If true, only check this array only on the local PE (default false). |
Definition at line 1340 of file MOM_checksums.F90.
References is_nan_0d().
|
private |
This function returns .true. if any element of x is a NaN, and .false. otherwise.
[in] | x | The array to be checked for NaNs. |
Definition at line 1364 of file MOM_checksums.F90.
References is_nan_0d().
|
private |
This function returns .true. if any element of x is a NaN, and .false. otherwise.
[in] | x | The array to be checked for NaNs. |
Definition at line 1383 of file MOM_checksums.F90.
References is_nan_0d().
subroutine, public mom_checksums::mom_checksums_init | ( | type(param_file_type), intent(in) | 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.
[in] | param_file | A structure to parse for run-time parameters |
Definition at line 1467 of file MOM_checksums.F90.
Referenced by mom_debugging::mom_debugging_init().
|
private |
Definition at line 82 of file MOM_checksums.F90.
Referenced by chksum_b_2d(), chksum_b_3d(), chksum_h_2d(), chksum_h_3d(), chksum_u_2d(), chksum_u_3d(), chksum_v_2d(), and chksum_v_3d().
|
private |
Definition at line 84 of file MOM_checksums.F90.
Referenced by chksum_b_2d(), chksum_b_3d(), chksum_h_2d(), chksum_h_3d(), chksum_u_2d(), chksum_u_3d(), chksum_v_2d(), and chksum_v_3d().
|
private |
Definition at line 81 of file MOM_checksums.F90.
Referenced by chksum_b_2d(), chksum_b_3d(), chksum_h_2d(), chksum_h_3d(), chksum_u_2d(), chksum_u_3d(), chksum_v_2d(), and chksum_v_3d().
|
private |
Definition at line 83 of file MOM_checksums.F90.
Referenced by chksum_b_2d(), chksum_b_3d(), chksum_h_2d(), chksum_h_3d(), chksum_u_2d(), chksum_u_3d(), chksum_v_2d(), and chksum_v_3d().