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
 
interface  mom_debugging::check_redundant_c
 
interface  mom_debugging::check_redundant_b
 
interface  mom_debugging::check_redundant_t
 
interface  mom_debugging::vec_chksum
 
interface  mom_debugging::vec_chksum_c
 
interface  mom_debugging::vec_chksum_b
 
interface  mom_debugging::vec_chksum_a
 

Modules

module  mom_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)
 
subroutine mom_debugging::check_redundant_vc2d (mesg, u_comp, v_comp, G, is, ie, js, je, direction)
 
subroutine mom_debugging::check_redundant_sb3d (mesg, array, G, is, ie, js, je)
 
subroutine mom_debugging::check_redundant_sb2d (mesg, array, G, is, ie, js, je)
 
subroutine mom_debugging::check_redundant_vb3d (mesg, u_comp, v_comp, G, is, ie, js, je, direction)
 
subroutine mom_debugging::check_redundant_vb2d (mesg, u_comp, v_comp, G, is, ie, js, je, direction)
 
subroutine mom_debugging::check_redundant_st3d (mesg, array, G, is, ie, js, je)
 
subroutine mom_debugging::check_redundant_st2d (mesg, array, G, is, ie, js, je)
 
subroutine mom_debugging::check_redundant_vt3d (mesg, u_comp, v_comp, G, is, ie, js, je, direction)
 
subroutine mom_debugging::check_redundant_vt2d (mesg, u_comp, v_comp, G, is, ie, js, je, direction)
 
subroutine mom_debugging::chksum_vec_c3d (mesg, u_comp, v_comp, G, halos, scalars)
 
subroutine mom_debugging::chksum_vec_c2d (mesg, u_comp, v_comp, G, halos, scalars)
 
subroutine mom_debugging::chksum_vec_b3d (mesg, u_comp, v_comp, G, halos, scalars)
 
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)
 
subroutine mom_debugging::chksum_vec_a2d (mesg, u_comp, v_comp, G, halos, scalars)
 
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. NOTE: This subroutine uses "save" data which is not thread safe and is purely for extreme debugging without a proper debugger. 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
 
integer, dimension(3) mom_debugging::redundant_prints = 0
 
logical mom_debugging::debug = .false.
 
logical mom_debugging::debug_chksums = .true.
 
logical mom_debugging::debug_redundant = .true.