mod_assert Module

Module defining the assertion routine used by assert.fpp.



Contents


Subroutines

public subroutine assert(cond, cond_str, file, line)

Utility function used by assert.fpp's assert macro.

Read more…

Arguments

TypeIntentOptionalAttributesName
logical, intent(in) :: cond

The assertion result.

character, intent(in) :: cond_str

The assertion code.

character, intent(in) :: file

The file containing the assertion.

integer, intent(in) :: line

The line of the assertion.