assert_m Module

Enforce logical assertions that can be toggled on/off at compile-time To turn off assertions, building with the flag -DUSE_ASSERTIONS=.false.


Used by

  • module~~assert_m~~UsedByGraph module~assert_m assert_m module~sp_reference_counter_s sp_reference_counter_s module~sp_reference_counter_s->module~assert_m module~assert_s assert_s module~assert_s->module~assert_m

Contents


Variables

TypeVisibilityAttributesNameInitial
logical, private, parameter:: enforce_assertions =.true.

Interfaces

interface

  • public pure module module subroutine assert(assertion, description)

    Error terminate on .false. assertion with the stop code given by description With IBM XL Fortran, the stop code is an integer due to character stop codes being unsupported.

    Arguments

    TypeIntentOptionalAttributesName
    logical, intent(in) :: assertion
    character(len=*), intent(in) :: description