Nodes of different colours represent the following:
Solid arrows point from a parent (sub)module to the submodule which is descended from it. Dashed arrows point from a module being used to the module or program unit using it. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | WinNum |
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.
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.
INTEGER FUNCTION FindTDDPipe(WinNum)
! SUBROUTINE INFORMATION:
! AUTHOR Peter Graham Ellis
! DATE WRITTEN May 2003
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Given the TDD:DOME or TDD:DIFFUSER object number, returns TDD pipe number.
! METHODOLOGY EMPLOYED:
! Similar to FindItemInList defined in InputProcessor.
! REFERENCES: na
! USE STATEMENTS:
USE DataSurfaces, ONLY: Surface
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: WinNum
! FUNCTION LOCAL VARIABLE DECLARATIONS:
INTEGER :: PipeNum ! TDD pipe object number
! FLOW:
FindTDDPipe = 0
IF (NumOfTDDPipes <= 0) THEN
CALL ShowFatalError('FindTDDPipe: Surface='//TRIM(Surface(WinNum)%Name)// &
', TDD:Dome object does not reference a valid Diffuser object.' // &
'...needs DaylightingDevice:Tubular of same name as Surface.')
ENDIF
DO PipeNum = 1, NumOfTDDPipes
IF ((WinNum .EQ. TDDPipe(PipeNum)%Dome) .OR. (WinNum .EQ. TDDPipe(PipeNum)%Diffuser)) THEN
FindTDDPipe = PipeNum
EXIT
END IF
END DO ! PipeNum
RETURN
END FUNCTION FindTDDPipe