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 | ||
---|---|---|---|---|---|---|
character(len=MaxNameLength), | intent(in) | :: | DXCoilSysName | |||
integer, | intent(inout) | :: | CoolCoilType | |||
integer, | intent(inout) | :: | CoolCoilIndex | |||
character(len=MaxNameLength), | intent(inout) | :: | CoolCoilName | |||
logical, | intent(inout) | :: | ErrFound |
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 GetCoolingCoilTypeNameAndIndex(DXCoilSysName,CoolCoilType,CoolCoilIndex,CoolCoilName,ErrFound)
! SUBROUTINE INFORMATION:
! AUTHOR Richard Raustad, FSEC
! DATE WRITTEN Aug 2013
! MODIFIED na
! RE-ENGINEERED na
!
! PURPOSE OF THIS SUBROUTINE:
! After making sure get input is done, checks if the Coil System DX coil is in the
! OA System. If exists then the DX cooling coil is 100% DOAS DX coil.
!
! METHODOLOGY EMPLOYED:
! na
!
! REFERENCES:
! na
!
! USE STATEMENTS:
USE InputProcessor, ONLY: FindItemInList
USE DXCoils, ONLY: SetDXCoilTypeData
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
!
! SUBROUTINE ARGUMENT DEFINITIONS:
CHARACTER(len=MaxNameLength), INTENT(IN) :: DXCoilSysName
INTEGER, INTENT(INOUT) :: CoolCoilType
INTEGER, INTENT(INOUT) :: CoolCoilIndex
CHARACTER(len=MaxNameLength), INTENT(INOUT) :: CoolCoilName
LOGICAL, INTENT(INOUT) :: ErrFound
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: DXCoolSysNum
IF (GetInputFlag) THEN !First time subroutine has been entered
CALL GetDXCoolingSystemInput
GetInputFlag=.false.
End If
DXCoolSysNum=0
IF (NumDXSystem > 0) THEN
DXCoolSysNum=FindItemInList(DXCoilSysName,DXCoolingSystem%Name,NumDXSystem)
IF (DXCoolSysNum > 0 .AND. DXCoolSysNum <= NumDXSystem) THEN
CoolCoilType = DXCoolingSystem(DXCoolSysNum)%CoolingCoilType_Num
CoolCoilIndex = DXCoolingSystem(DXCoolSysNum)%CoolingCoilIndex
CoolCoilName = DXCoolingSystem(DXCoolSysNum)%CoolingCoilName
ENDIF
ENDIF
RETURN
END SUBROUTINE GetCoolingCoilTypeNameAndIndex