| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | OAUnitNum | 
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 GetOutdoorAirUnitReturnAirNode(OAUnitNum)
          ! FUNCTION INFORMATION:
          !       AUTHOR         B Griffith
          !       DATE WRITTEN   Dec  2006
          !       MODIFIED       na
          !       RE-ENGINEERED  na
          ! PURPOSE OF THIS FUNCTION:
          ! lookup function for OA inlet node
          ! 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)  :: OAUnitNum          !
          ! FUNCTION PARAMETER DEFINITIONS:
          ! na
          ! INTERFACE BLOCK SPECIFICATIONS:
          ! na
          ! DERIVED TYPE DEFINITIONS:
          ! na
          ! FUNCTION LOCAL VARIABLE DECLARATIONS:
          ! na
  IF (GetOutdoorAirUnitInputFlag) THEN
    CALL GetOutdoorAirUnitInputs
    GetOutdoorAirUnitInputFlag=.FALSE.
  ENDIF
  GetOutdoorAirUnitReturnAirNode = 0
  If (OAUnitNum > 0 .and. OAUnitNum <= NumOfOAUnits) THEN
    GetOutdoorAirUnitReturnAirNode = OutAirUnit(OAUnitNum)%AirInletNode
  ENDIF
  RETURN
END FUNCTION GetOutdoorAirUnitReturnAirNode