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) | :: | TraceFileUnit | |||
logical, | intent(in) | :: | FirstHVACIteration | |||
integer, | intent(in) | :: | AirLoopPass | |||
logical, | intent(in) | :: | AirLoopConverged | |||
integer, | intent(in) | :: | AirLoopNumCalls |
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 TraceIterationStamp( &
TraceFileUnit, &
FirstHVACIteration, AirLoopPass, AirLoopConverged, &
AirLoopNumCalls )
! SUBROUTINE INFORMATION:
! AUTHOR Dimitri Curtil
! DATE WRITTEN February 2006
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Writes current iteration time stamp to specified trace file.
!
! METHODOLOGY EMPLOYED:
! Needs description, as appropriate.
! REFERENCES:
! na
! USE STATEMENTS:
USE DataEnvironment, ONLY : CurEnvirNum, CurMnDy
USE DataGlobals, ONLY : ZoneSizingCalc, SysSizingCalc, WarmupFlag, BeginTimeStepFlag
USE DataHVACGlobals, ONLY : FirstTimeStepSysFlag
USE General, ONLY: TrimSigDigits, LogicalToInteger
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
! na
! SUBROUTINE PARAMETER DEFINITIONS:
INTEGER, INTENT(IN) :: TraceFileUnit
LOGICAL, INTENT(IN) :: FirstHVACIteration
INTEGER, INTENT(IN) :: AirLoopPass
! TRUE when primary air system and controllers simulation has converged;
LOGICAL, INTENT(IN) :: AirLoopConverged
! Number of times SimAirLoopComponents() has been invoked
INTEGER, INTENT(IN) :: AirLoopNumCalls
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! na
! Write step stamp to air loop trace file after reset
! Note that we do not go to the next line
WRITE(TraceFileUnit,'(4(A,A),2(A,A),6(A,A))',ADVANCE='No') &
TRIM(TrimSigDigits(LogicalToInteger(ZoneSizingCalc))), ',', &
TRIM(TrimSigDigits(LogicalToInteger(SysSizingCalc))), ',', &
TRIM(TrimSigDigits(CurEnvirNum)), ',', &
TRIM(TrimSigDigits(LogicalToInteger(WarmupFlag))), ',', &
TRIM(CreateHVACTimeString()), ',', &
TRIM(MakeHVACTimeIntervalString()), ',', &
TRIM(TrimSigDigits(LogicalToInteger(BeginTimeStepFlag))), ',', &
TRIM(TrimSigDigits(LogicalToInteger(FirstTimeStepSysFlag))), ',', &
TRIM(TrimSigDigits(LogicalToInteger(FirstHVACIteration))), ',', &
TRIM(TrimSigDigits(AirLoopPass)), ',', &
TRIM(TrimSigDigits(AirLoopNumCalls)), ',', &
TRIM(TrimSigDigits(LogicalToInteger(AirLoopConverged))), ','
RETURN
END SUBROUTINE TraceIterationStamp