Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | UnitVentNum |
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 GetUnitVentilatorReturnAirNode(UnitVentNum)
! FUNCTION INFORMATION:
! AUTHOR B Griffith
! DATE WRITTEN Dec 2006
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! lookup function for return air node into "mixer"
! 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) :: UnitVentNum !
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
! na
IF (GetUnitVentilatorInputFlag) THEN
CALL GetUnitVentilatorInput
GetUnitVentilatorInputFlag=.FALSE.
ENDIF
GetUnitVentilatorReturnAirNode = 0
If (UnitVentNum > 0 .and. UnitVentNum <= NumOfUnitVents) THEN
GetUnitVentilatorReturnAirNode = UnitVent(UnitVentNum)%AirInNode
ENDIF
RETURN
END FUNCTION GetUnitVentilatorReturnAirNode