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) | :: | NumPump | 
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.
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.
SUBROUTINE PumpDataForTable(NumPump)
          ! SUBROUTINE INFORMATION:
          !       AUTHOR:          Jason Glazer
          !       DATE WRITTEN:    September 2006
          !       MODIFIED         na
          !       RE-ENGINEERED    na
          ! PURPOSE OF THIS SUBROUTINE:
          ! Pull data together for predefined tables.
          ! METHODOLOGY EMPLOYED:
          ! na
          ! REFERENCES:
          ! na
          ! USE STATEMENTS:
          ! na
  USE OutputReportPredefined
  IMPLICIT NONE    ! Enforce explicit typing of all variables in this routine
          ! SUBROUTINE ARGUMENT DEFINITIONS:
  INTEGER, INTENT(IN) :: NumPump
          ! SUBROUTINE PARAMETER DEFINITIONS:
          ! na
          ! INTERFACE BLOCK SPECIFICATIONS
          ! na
          ! DERIVED TYPE DEFINITIONS
          ! na
          ! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
  CHARACTER(len=MaxNameLength) :: equipName
  equipName = PumpEquip(NumPump)%Name
  CALL PreDefTableEntry(pdchPumpType,equipName,cPumpTypes(PumpEquip(NumPump)%PumpType))
  IF (PumpEquip(NumPump)%PumpControl == Continuous) THEN
    CALL PreDefTableEntry(pdchPumpControl,equipName,'Continuous')
  ELSEIF (PumpEquip(NumPump)%PumpControl == Intermittent) THEN
    CALL PreDefTableEntry(pdchPumpControl,equipName,'Intermittent')
  ELSE
    CALL PreDefTableEntry(pdchPumpControl,equipName,'Unknown')
  ENDIF
  CALL PreDefTableEntry(pdchPumpHead,equipName,PumpEquip(NumPump)%NomPumpHead)
  CALL PreDefTableEntry(pdchPumpFlow,equipName,PumpEquip(NumPump)%NomVolFlowRate,4)
  CALL PreDefTableEntry(pdchPumpPower,equipName,PumpEquip(NumPump)%NomPowerUse)
  IF (PumpEquip(NumPump)%NomVolFlowRate .NE. 0) THEN
    CALL PreDefTableEntry(pdchPumpPwrPerFlow,equipName,PumpEquip(NumPump)%NomPowerUse / PumpEquip(NumPump)%NomVolFlowRate)
  ELSE
    CALL PreDefTableEntry(pdchPumpPwrPerFlow,equipName,'-')
  END IF
  CALL PreDefTableEntry(pdchMotEff,equipName,PumpEquip(NumPump)%MotorEffic)
END SUBROUTINE PumpDataForTable