TUV-x
Loading...
Searching...
No Matches
Data Types | Modules | Functions/Subroutines | Variables
assert.F90 File Reference

The musica_assert module. More...

Data Types

interface  musica_assert::assert_msg
 
interface  musica_assert::assert_warn_msg
 
interface  musica_assert::die_msg
 
interface  musica_assert::almost_equal
 
interface  musica_assert::are_equal
 

Modules

module  musica_assert
 Assertion functions.
 

Functions/Subroutines

subroutine musica_assert::assert_msg_string (code, condition, error_message)
 Asserts condition to be true or fails with provided message. More...
 
subroutine musica_assert::assert_msg_char (code, condition, error_message)
 Asserts condition to be true or fails with provided message. More...
 
subroutine musica_assert::assert (code, condition)
 Asserts condition to be true or fails. More...
 
subroutine musica_assert::assert_warn_msg_string (code, condition, warning_message)
 Asserts condition to be true or prints a provided warning message. More...
 
subroutine musica_assert::assert_warn_msg_char (code, condition, warning_message)
 Asserts condition to be true or prints a provided warning message. More...
 
subroutine musica_assert::die_msg_string (code, error_message)
 Errors immediately and prints a provided message. More...
 
subroutine musica_assert::die_msg_char (code, error_message)
 Errors immediately and prints a provided message. More...
 
subroutine musica_assert::die (code)
 Errors immediately. More...
 
logical function musica_assert::almost_equal_real (a, b, relative_tolerance, absolute_tolerance)
 Determines whether two real numbers are equal within a provided or standard tolerance. More...
 
logical function musica_assert::almost_equal_double (a, b, relative_tolerance, absolute_tolerance)
 Determines whether two real numbers are equal within a provided or standard tolerance. More...
 
logical function musica_assert::almost_equal_complex_real (a, b, relative_tolerance, absolute_tolerance)
 Determines whether two complex numbers are equal within a provided or standard tolerance. More...
 
logical function musica_assert::almost_equal_complex_double (a, b, relative_tolerance, absolute_tolerance)
 Determines whether two complex numbers are equal within a provided or standard tolerance. More...
 
logical pure function musica_assert::compare_arrays_1d_real (a, b)
 Compares two 1D arrays for equality. More...
 
logical pure function musica_assert::compare_arrays_2d_real (a, b)
 Compares two 2D arrays for equality. More...
 
logical pure function musica_assert::compare_arrays_1d_double (a, b)
 Compares two 1D arrays for equality. More...
 
logical pure function musica_assert::compare_arrays_2d_double (a, b)
 Compares two 2D arrays for equality. More...
 

Variables

integer, parameter musica_assert::kerrorfileid = 10
 Unit for error output files.
 
integer, parameter musica_assert::kerrorid = 0
 Error output id.
 

Detailed Description

The musica_assert module.