Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | NodeNumber |
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 GetZoneDehumidifierNodeNumber(NodeNumber) RESULT(FindZoneDehumidifierNodeNumber)
! FUNCTION INFORMATION:
! AUTHOR Lixing Gu
! DATE WRITTEN August 2009
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! After making sure get input is done, the node number of indicated
! zone dehumidifier is returned.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: NodeNumber ! Node being tested
LOGICAL :: FindZoneDehumidifierNodeNumber ! Zone Dehumidifier Node Number Check
INTEGER :: ZoneDehumidIndex ! Loop index
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
! na
IF (GetInputFlag) THEN
CALL GetZoneDehumidifierInput
GetInputFlag=.FALSE.
END IF
FindZoneDehumidifierNodeNumber=.FALSE.
DO ZoneDehumidIndex=1,NumDehumidifiers
IF (NodeNumber == ZoneDehumid(ZoneDehumidIndex)%AirInletNodeNum) THEN
FindZoneDehumidifierNodeNumber = .TRUE.
EXIT
END IF
IF (NodeNumber == ZoneDehumid(ZoneDehumidIndex)%AirOutletNodeNum) THEN
FindZoneDehumidifierNodeNumber = .TRUE.
EXIT
END IF
END DO
RETURN
END FUNCTION GetZoneDehumidifierNodeNumber