Soil Water Balance (SWB2)
Loading...
Searching...
No Matches
exceptions Module Reference

Data Types

interface  assert
interface  index_values_valid

Functions/Subroutines

logical(c_bool) function bounds_check_integer_1d (array_vals, array_index)
logical(c_bool) function bounds_check_float_1d (array_vals, array_index)
logical(c_bool) function bounds_check_double_1d (array_vals, array_index)
logical(c_bool) function bounds_check_integer_2d (array_vals, array_index1, array_index2)
logical(c_bool) function bounds_check_float_2d (array_vals, array_index1, array_index2)
logical(c_bool) function bounds_check_double_2d (array_vals, array_index1, array_index2)
subroutine, public die (smessage, smodule, iline, shints, scalledby, icalledbyline)
subroutine, public check_for_fatal_warnings ()
subroutine, public warn (smessage, smodule, iline, shints, lfatal, iloglevel, lecho)
subroutine assert_1bit (lcondition, smessage, smodule, iline, scalledby, icalledbyline, shints)
subroutine assert_4bit (lcondition, smessage, smodule, iline, scalledby, icalledbyline, shints)

Variables

logical(c_bool), parameter true = .true._c_bool
logical(c_bool), parameter false = .false._c_bool
integer(c_int), public number_of_fatal_warnings = 0
integer(c_int), parameter max_fatal_warnings = 50
character(len=256), dimension(max_fatal_warningswarning_text
logical(c_bool), public halt_upon_fatal_error = TRUE

Function/Subroutine Documentation

◆ assert_1bit()

subroutine exceptions::assert_1bit ( logical (c_bool), intent(in) lcondition,
character (len=*), intent(in) smessage,
character (len=*), intent(in), optional smodule,
integer (c_int), intent(in), optional iline,
character (len=*), intent(in), optional scalledby,
integer (c_int), intent(in), optional icalledbyline,
character (len=*), intent(in), optional shints )
private

Definition at line 295 of file exceptions.F90.

◆ assert_4bit()

subroutine exceptions::assert_4bit ( logical (4), intent(in) lcondition,
character (len=*), intent(in) smessage,
character (len=*), intent(in), optional smodule,
integer (c_int), intent(in), optional iline,
character (len=*), intent(in), optional scalledby,
integer (c_int), intent(in), optional icalledbyline,
character (len=*), intent(in), optional shints )
private

Definition at line 333 of file exceptions.F90.

◆ bounds_check_double_1d()

logical (c_bool) function exceptions::bounds_check_double_1d ( real (c_double), dimension(:), intent(in) array_vals,
integer (c_int), intent(in) array_index )
private

Definition at line 66 of file exceptions.F90.

◆ bounds_check_double_2d()

logical (c_bool) function exceptions::bounds_check_double_2d ( real (c_double), dimension(:,:), intent(in) array_vals,
integer (c_int), intent(in) array_index1,
integer (c_int), intent(in) array_index2 )
private

Definition at line 119 of file exceptions.F90.

◆ bounds_check_float_1d()

logical (c_bool) function exceptions::bounds_check_float_1d ( real (c_float), dimension(:), intent(in) array_vals,
integer (c_int), intent(in) array_index )
private

Definition at line 51 of file exceptions.F90.

◆ bounds_check_float_2d()

logical (c_bool) function exceptions::bounds_check_float_2d ( real (c_float), dimension(:,:), intent(in) array_vals,
integer (c_int), intent(in) array_index1,
integer (c_int), intent(in) array_index2 )
private

Definition at line 100 of file exceptions.F90.

◆ bounds_check_integer_1d()

logical (c_bool) function exceptions::bounds_check_integer_1d ( integer (c_int), dimension(:), intent(in) array_vals,
integer (c_int), intent(in) array_index )
private

Definition at line 36 of file exceptions.F90.

◆ bounds_check_integer_2d()

logical (c_bool) function exceptions::bounds_check_integer_2d ( integer (c_int), dimension(:,:), intent(in) array_vals,
integer (c_int), intent(in) array_index1,
integer (c_int), intent(in) array_index2 )
private

Definition at line 81 of file exceptions.F90.

◆ check_for_fatal_warnings()

subroutine, public exceptions::check_for_fatal_warnings

Definition at line 190 of file exceptions.F90.

Here is the call graph for this function:

◆ die()

subroutine, public exceptions::die ( character (len=*), intent(in) smessage,
character (len=*), intent(in), optional smodule,
integer (c_int), intent(in), optional iline,
character (len=*), intent(in), optional shints,
character (len=*), intent(in), optional scalledby,
integer (c_int), intent(in), optional icalledbyline )

Definition at line 138 of file exceptions.F90.

◆ warn()

subroutine, public exceptions::warn ( character (len=*), intent(in) smessage,
character (len=*), intent(in), optional smodule,
integer (c_int), intent(in), optional iline,
character (len=*), intent(in), optional shints,
logical (c_bool), intent(in), optional lfatal,
integer (c_int), intent(in), optional iloglevel,
logical (c_bool), intent(in), optional lecho )

Definition at line 242 of file exceptions.F90.

Variable Documentation

◆ false

logical (c_bool), parameter exceptions::false = .false._c_bool
private

Definition at line 13 of file exceptions.F90.

◆ halt_upon_fatal_error

logical (c_bool), public exceptions::halt_upon_fatal_error = TRUE

Definition at line 32 of file exceptions.F90.

◆ max_fatal_warnings

integer (c_int), parameter exceptions::max_fatal_warnings = 50
private

Definition at line 30 of file exceptions.F90.

◆ number_of_fatal_warnings

integer (c_int), public exceptions::number_of_fatal_warnings = 0

Definition at line 29 of file exceptions.F90.

◆ true

logical (c_bool), parameter exceptions::true = .true._c_bool
private

Definition at line 12 of file exceptions.F90.

◆ warning_text

character (len=256), dimension( max_fatal_warnings ) exceptions::warning_text
private

Definition at line 31 of file exceptions.F90.