ITM Grid Service Library: Fortran 90

src/itm_assert/itm_assert.f90 File Reference

Go to the source code of this file.

Modules

module  itm_assert

Functions/Subroutines

subroutine, public itm_assert::assertSetStopMode (doStop)
 Set the default assertion stop behaviour.
subroutine, public itm_assert::assertSetMsgPrefix (prefix)
 Set a prefix for the assertion fail message.
subroutine, public itm_assert::assertReset ()
 Reset the assertion module to its default state.
subroutine, public itm_assert::assertStopOnFailed (failmsg, doStop)
 Stop if a previously called assertion failed (delayed stop).
subroutine, public itm_assert::assert (test, failmsg, doStop)
 A generic assertion, tests a given logical expression.
subroutine, public itm_assert::assertEqual (x1, x2, failmsg, doStop)
 Test double precision floating point numbers for equality.

Variables

logical, save itm_assert::defaultDoStop = .true.
integer, save itm_assert::failCount = 0
integer, save itm_assert::msgPrefixLen = 0
character(256), save itm_assert::msgPrefix
 All Classes Namespaces Files Functions Variables