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) | :: | PattrnID | |||
integer, | intent(in) | :: | ZoneNum |
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 FigureSurfMapPattern(PattrnID, ZoneNum)
! SUBROUTINE INFORMATION:
! AUTHOR B Griffith
! DATE WRITTEN August 2005
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! main calculation routine for surface pattern
! METHODOLOGY EMPLOYED:
! simple polling and applying prescribed
! delta Tai's to current mean air temp
! on a surface by surface basis
! REFERENCES:
! na
! USE STATEMENTS:
USE General, ONLY: FindNumberinList
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: PattrnID
INTEGER, INTENT(IN) :: ZoneNum
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
REAL(r64) :: Tmean
INTEGER :: found
INTEGER :: i
Tmean = AirPatternZoneInfo(ZoneNum)%TairMean
DO i=1, AirPatternZoneInfo(ZoneNum)%totNumSurfs
! cycle through zone surfaces and look for match
found = FindNumberInList(AirPatternZoneInfo(ZoneNum)%Surf(i)%SurfID, &
RoomAirPattern(PattrnID)%MapPatrn%SurfID, RoomAirPattern(PattrnID)%MapPatrn%numSurfs)
IF (found /= 0) THEN ! if surf is in map then assign, else give it MAT
AirPatternZoneInfo(ZoneNum)%Surf(i)%TadjacentAir = RoomAirPattern(PattrnID)%MapPatrn%DeltaTai(found) + Tmean
ELSE
AirPatternZoneInfo(ZoneNum)%Surf(i)%TadjacentAir = Tmean
ENDIF
ENDDO
AirPatternZoneInfo(ZoneNum)%Tstat = RoomAirPattern(PattrnID)%DeltaTstat + Tmean
AirPatternZoneInfo(ZoneNum)%Tleaving = RoomAirPattern(PattrnID)%DeltaTleaving + Tmean
AirPatternZoneInfo(ZoneNum)%Texhaust = RoomAirPattern(PattrnID)%DeltaTexhaust + Tmean
RETURN
END SUBROUTINE FigureSurfMapPattern