Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | PurchAirNum |
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 GetPurchasedAirZoneInletAirNode(PurchAirNum)
! FUNCTION INFORMATION:
! AUTHOR B Griffith
! DATE WRITTEN Dec 2006
! MODIFIED Adapted for purchased air by M.J. Witte, Oct 2013
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! lookup function for zone inlet node for ventilation rate reporting
! METHODOLOGY EMPLOYED:
! <description>
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
INTEGER, INTENT (IN) :: PurchAirNum !
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
! na
IF (GetPurchAirInputFlag ) THEN
CALL GetPurchasedAir
GetPurchAirInputFlag = .FALSE.
END IF
GetPurchasedAirZoneInletAirNode = 0
IF (PurchAirNum > 0 .and. PurchAirNum <= NumPurchAir) THEN
GetPurchasedAirZoneInletAirNode = PurchAir(PurchAirNum)%ZoneSupplyAirNodeNum
ENDIF
RETURN
END FUNCTION GetPurchasedAirZoneInletAirNode