MOM6
MOM_debugging.F90 File Reference
#include "version_variable.h"
Include dependency graph for MOM_debugging.F90:

Go to the source code of this file.

Data Types

interface  mom_debugging::check_redundant
 Check for consistency between the duplicated points of a C-grid vector. More...
 
interface  mom_debugging::check_redundant_c
 Check for consistency between the duplicated points of a C-grid vector. More...
 
interface  mom_debugging::check_redundant_b
 Check for consistency between the duplicated points of a B-grid vector or scalar. More...
 
interface  mom_debugging::check_redundant_t
 Check for consistency between the duplicated points of an A-grid vector or scalar. More...
 
interface  mom_debugging::vec_chksum
 Do checksums on the components of a C-grid vector. More...
 
interface  mom_debugging::vec_chksum_c
 Do checksums on the components of a C-grid vector. More...
 
interface  mom_debugging::vec_chksum_b
 Do checksums on the components of a B-grid vector. More...
 
interface  mom_debugging::vec_chksum_a
 Do checksums on the components of an A-grid vector. More...
 

Modules

module  mom_debugging
 Provides checksumming functions for debugging.
 

Functions/Subroutines

subroutine, public mom_debugging::mom_debugging_init (param_file)
 MOM_debugging_init initializes the MOM_debugging module, and sets the parameterts that control which checks are active for MOM6. More...
 
subroutine mom_debugging::check_redundant_vc3d (mesg, u_comp, v_comp, G, is, ie, js, je, direction)
 Check for consistency between the duplicated points of a 3-D C-grid vector. More...
 
subroutine mom_debugging::check_redundant_vc2d (mesg, u_comp, v_comp, G, is, ie, js, je, direction)
 Check for consistency between the duplicated points of a 2-D C-grid vector. More...
 
subroutine mom_debugging::check_redundant_sb3d (mesg, array, G, is, ie, js, je)
 Check for consistency between the duplicated points of a 3-D scalar at corner points. More...
 
subroutine mom_debugging::check_redundant_sb2d (mesg, array, G, is, ie, js, je)
 Check for consistency between the duplicated points of a 2-D scalar at corner points. More...
 
subroutine mom_debugging::check_redundant_vb3d (mesg, u_comp, v_comp, G, is, ie, js, je, direction)
 Check for consistency between the duplicated points of a 3-D B-grid vector. More...
 
subroutine mom_debugging::check_redundant_vb2d (mesg, u_comp, v_comp, G, is, ie, js, je, direction)
 Check for consistency between the duplicated points of a 2-D B-grid vector. More...
 
subroutine mom_debugging::check_redundant_st3d (mesg, array, G, is, ie, js, je)
 Check for consistency between the duplicated points of a 3-D scalar at tracer points. More...
 
subroutine mom_debugging::check_redundant_st2d (mesg, array, G, is, ie, js, je)
 Check for consistency between the duplicated points of a 2-D scalar at tracer points. More...
 
subroutine mom_debugging::check_redundant_vt3d (mesg, u_comp, v_comp, G, is, ie, js, je, direction)
 Check for consistency between the duplicated points of a 3-D A-grid vector. More...
 
subroutine mom_debugging::check_redundant_vt2d (mesg, u_comp, v_comp, G, is, ie, js, je, direction)
 Check for consistency between the duplicated points of a 2-D A-grid vector. More...
 
subroutine mom_debugging::chksum_vec_c3d (mesg, u_comp, v_comp, G, halos, scalars)
 Do a checksum and redundant point check on a 3d C-grid vector. More...
 
subroutine mom_debugging::chksum_vec_c2d (mesg, u_comp, v_comp, G, halos, scalars)
 Do a checksum and redundant point check on a 2d C-grid vector. More...
 
subroutine mom_debugging::chksum_vec_b3d (mesg, u_comp, v_comp, G, halos, scalars)
 Do a checksum and redundant point check on a 3d B-grid vector. More...
 
subroutine mom_debugging::chksum_vec_b2d (mesg, u_comp, v_comp, G, halos, scalars, symmetric)
 
subroutine mom_debugging::chksum_vec_a3d (mesg, u_comp, v_comp, G, halos, scalars)
 Do a checksum and redundant point check on a 3d C-grid vector. More...
 
subroutine mom_debugging::chksum_vec_a2d (mesg, u_comp, v_comp, G, halos, scalars)
 Do a checksum and redundant point check on a 2d C-grid vector. More...
 
real function, public mom_debugging::totalstuff (HI, hThick, areaT, stuff)
 This function returns the sum over computational domain of all processors of hThick*stuff, where stuff is a 3-d array at tracer points. More...
 
subroutine, public mom_debugging::totaltands (HI, hThick, areaT, temperature, salinity, mesg)
 This subroutine display the total thickness, temperature and salinity as well as the change since the last call. More...
 
logical function, public mom_debugging::check_column_integral (nk, field, known_answer)
 Returns false if the column integral of a given quantity is within roundoff. More...
 
logical function, public mom_debugging::check_column_integrals (nk_1, field_1, nk_2, field_2, missing_value)
 Returns false if the column integrals of two given quantities are within roundoff of each other. More...
 

Variables

integer mom_debugging::max_redundant_prints = 100
 Maximum number of times to write redundant messages. More...
 
integer, dimension(3) mom_debugging::redundant_prints = 0
 Counters for controlling redundant printing. More...
 
logical mom_debugging::debug = .false.
 Write out verbose debugging data. More...
 
logical mom_debugging::debug_chksums = .true.
 Perform checksums on arrays. More...
 
logical mom_debugging::debug_redundant = .true.
 Check redundant values on PE boundaries. More...