
Contains a toggleable assertion utility - based on Figure 10.8 of Scientific Software Design by Rouson et al.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in) | :: | assertion | |||
| character(len=*), | intent(in), | optional | :: | error |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in), | dimension(:) | :: | assertion | ||
| character(len=*), | intent(in), | optional | :: | error |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in) | :: | assertion | |||
| character(len=*), | intent(in), | optional | :: | error |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in), | dimension(:) | :: | assertion | ||
| character(len=*), | intent(in), | optional | :: | error |
Checks whether assertion is .false. and stops the program excecution with error text
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in) | :: | assertion | |||
| character(len=*), | intent(in), | optional | :: | error |
Checks whether any assertion is .false. and stops the program excecution with error text
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in), | dimension(:) | :: | assertion | ||
| character(len=*), | intent(in), | optional | :: | error |
Checks all integers are identical and if not stops the program excecution with error text
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in), | dimension(:) | :: | integers | ||
| character(len=*), | intent(in), | optional | :: | error |
Pure version of assertVector routine, does not write separately to std out
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in), | dimension(:) | :: | assertion | ||
| character(len=*), | intent(in), | optional | :: | error |
Pure version of assertSingle routine, does not write separately to std out
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in) | :: | assertion | |||
| character(len=*), | intent(in), | optional | :: | error |