FV3 Bundle
gsw_mod_error_functions Module Reference

Functions/Subroutines

elemental real(r8) function, public gsw_error_code (err_num, func_name, error_code)
 
elemental integer function, private gsw_error_fnum (func_name)
 
subroutine, public gsw_error_handler (error_code)
 
subroutine, public gsw_error_addname (func_name)
 

Variables

logical, public gsw_error_check = .true.
 
logical, public gsw_abort_on_error = .true.
 
real(r8), parameter, public gsw_error_limit = 1e10_r8
 
integer, private nfuncs = 41
 
integer, parameter, private maxlen = 40
 
integer, parameter, private maxfuncs = 50
 
character(len=maxlen), dimension(maxfuncs), private func_list
 

Function/Subroutine Documentation

◆ gsw_error_addname()

subroutine, public gsw_mod_error_functions::gsw_error_addname ( character (*), intent(in)  func_name)

Definition at line 181 of file gsw_mod_error_functions.f90.

◆ gsw_error_code()

elemental real (r8) function, public gsw_mod_error_functions::gsw_error_code ( integer, intent(in)  err_num,
character (*), intent(in)  func_name,
real (r8), intent(in), optional  error_code 
)

Definition at line 81 of file gsw_mod_error_functions.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gsw_error_fnum()

elemental integer function, private gsw_mod_error_functions::gsw_error_fnum ( character (*), intent(in)  func_name)
private

Definition at line 118 of file gsw_mod_error_functions.f90.

Here is the caller graph for this function:

◆ gsw_error_handler()

subroutine, public gsw_mod_error_functions::gsw_error_handler ( real (r8), intent(in)  error_code)

Definition at line 143 of file gsw_mod_error_functions.f90.

Variable Documentation

◆ func_list

character (len=maxlen), dimension(maxfuncs), private gsw_mod_error_functions::func_list
private

Definition at line 18 of file gsw_mod_error_functions.f90.

◆ gsw_abort_on_error

logical, public gsw_mod_error_functions::gsw_abort_on_error = .true.

Definition at line 10 of file gsw_mod_error_functions.f90.

◆ gsw_error_check

logical, public gsw_mod_error_functions::gsw_error_check = .true.

Definition at line 9 of file gsw_mod_error_functions.f90.

◆ gsw_error_limit

real (r8), parameter, public gsw_mod_error_functions::gsw_error_limit = 1e10_r8

Definition at line 12 of file gsw_mod_error_functions.f90.

◆ maxfuncs

integer, parameter, private gsw_mod_error_functions::maxfuncs = 50
private

Definition at line 17 of file gsw_mod_error_functions.f90.

◆ maxlen

integer, parameter, private gsw_mod_error_functions::maxlen = 40
private

Definition at line 16 of file gsw_mod_error_functions.f90.

◆ nfuncs

integer, private gsw_mod_error_functions::nfuncs = 41
private

Definition at line 14 of file gsw_mod_error_functions.f90.