| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | ContextName | 
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
SUBROUTINE InitUniqueNodeCheck(ContextName)
          ! SUBROUTINE INFORMATION:
          !       AUTHOR         Linda Lawrie
          !       DATE WRITTEN   November 2002
          !       MODIFIED       na
          !       RE-ENGINEERED  na
          ! PURPOSE OF THIS SUBROUTINE:
          ! This subroutine begins a process of checking for unique node names
          ! in a sequence of nodes.
          ! METHODOLOGY EMPLOYED:
          ! na
          ! REFERENCES:
          ! na
          ! USE STATEMENTS:
          ! na
  IMPLICIT NONE    ! Enforce explicit typing of all variables in this routine
          ! SUBROUTINE ARGUMENT DEFINITIONS:
  CHARACTER(len=*), INTENT(IN) :: ContextName
          ! SUBROUTINE PARAMETER DEFINITIONS:
          ! na
          ! INTERFACE BLOCK SPECIFICATIONS
          ! na
          ! DERIVED TYPE DEFINITIONS
          ! na
          ! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
  LOGICAL ErrFlag
  ! Begin set up of Uniqueness context
  IF (GetNodeInputFlag) THEN
    CALL GetNodeListsInput(ErrFlag)
    GetNodeInputFlag=.false.
  ENDIF
  IF (CurCheckContextName /= Blank) THEN
    CALL ShowFatalError('Init Uniqueness called for "'//TRIM(ContextName)//', but checks for "'//TRIM(CurCheckContextName)//  &
                        '" was already in progress.')
  ENDIF
  IF (ContextName == Blank) THEN
    CALL ShowFatalError('Init Uniqueness called with Blank Context Name')
  ENDIF
  IF (ALLOCATED(UniqueNodeNames)) THEN
    DEALLOCATE(UniqueNodeNames)
  ENDIF
  NumCheckNodes=0
  MaxCheckNodes=100
  ALLOCATE(UniqueNodeNames(MaxCheckNodes))
  UniqueNodeNames=Blank
  CurCheckContextName=ContextName
  RETURN
END SUBROUTINE InitUniqueNodeCheck