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) | :: | ZoneNum |
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.
FUNCTION GetHybridVentilationControlStatus(ZoneNum) Result(VentControl)
! SUBROUTINE INFORMATION:
! AUTHOR Lixing Gu
! DATE WRITTEN July 2010
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This routine was designed to find whether this zone is controlled by hybrid ventilation
! ventilation control option.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE General, ONLY: TrimSigDigits
USE InputProcessor, ONLY: FindItemInList
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: ZoneNum ! Index of zone
INTEGER :: SysAvailNum ! index to system availability manager number
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
LOGICAL :: VentControl ! Set to true if ventilation control in the same zone
! Obtains inputs of hybrid ventilation objects
IF (GetHybridInputFlag) THEN !First time subroutine has been entered
CALL GetHybridVentilationInputs
GetHybridInputFlag=.false.
End If
VentControl = .FALSE.
DO SysAvailNum = 1,NumHybridVentSysAvailMgrs
If (HybridVentSysAvailMgrData(SysAvailNum)%ActualZoneNum == ZoneNum) Then
If (HybridVentSysAvailMgrData(SysAvailNum)%SimpleControlTypeSchedPtr > 0) Then
VentControl = .TRUE.
End If
End If
End Do
RETURN
END FUNCTION GetHybridVentilationControlStatus