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 | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | SysName | |||
logical, | intent(in) | :: | FirstHVACIteration | |||
integer, | intent(inout) | :: | SysIndex |
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 SimATMixer(SysName,FirstHVACIteration,SysIndex)
! SUBROUTINE INFORMATION:
! AUTHOR
! DATE WRITTEN March 2012
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE
! Simulate an Air Terminal Mixer component
! METHODOLOGY EMPLOYED:
! REFERENCES:
! USE STATEMENTS:
USE InputProcessor, ONLY: FindItemInList
IMPLICIT NONE
! SUBROUTINE ARGUMENT DEFINITIONS
CHARACTER(len=*), INTENT(IN) :: SysName
LOGICAL, INTENT(IN) :: FirstHVACIteration
INTEGER, INTENT(INOUT) :: SysIndex
! SUBROUTINE PARAMETER DEFINITIONS:
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: SysNum = 0
IF (GetATMixerFlag) THEN
CALL GetATMixers
GetATMixerFlag = .FALSE.
ENDIF
IF (SysIndex == 0) THEN
SysNum=FindItemInList(TRIM(SysName),SysATMixer%Name,NumATMixers)
SysIndex=SysNum
IF (SysNum == 0) THEN
CALL ShowFatalError('Object '//TRIM(SysName)//' not found')
ENDIF
ELSE
SysNum=SysIndex
ENDIF
Call InitATMixer(SysNum, FirstHVACIteration) ! Not being used, is placeholder
CALL CalcATMixer(SysNum)
CALL UpdateATMixer(SysNum)
RETURN
END SUBROUTINE SimATMixer