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.
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 OpenOutputFiles
! SUBROUTINE INFORMATION:
! AUTHOR Rick Strand
! DATE WRITTEN June 1997
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine opens all of the input and output files needed for
! an EnergyPlus run.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE DataStringGlobals, ONLY: VerString
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
! na
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
integer,external :: GetNewUnitNumber ! External function for a new unit number
integer :: write_stat
! FLOW:
OutputFileStandard=GetNewUnitNumber()
StdOutputRecordCount=0
OPEN (UNIT=OutputFileStandard,FILE='eplusout.eso',STATUS='UNKNOWN',Action='write',iostat=write_stat)
IF (write_stat /= 0) THEN
CALL ShowFatalError('OpenOutputFiles: Could not open file "eplusout.eso" for output (write).')
ENDIF
WRITE(OutputFileStandard,'(A)') 'Program Version,'//TRIM(VerString)
! Open the Initialization Output File
OutputFileInits=GetNewUnitNumber()
OPEN (UNIT=OutputFileInits,FILE='eplusout.eio',STATUS='UNKNOWN',Action='write',iostat=write_stat)
IF (write_stat /= 0) THEN
CALL ShowFatalError('OpenOutputFiles: Could not open file "eplusout.eio" for output (write).')
ENDIF
WRITE(OutputFileInits,'(A)') 'Program Version,'//TRIM(VerString)
! Open the Meters Output File
OutputFileMeters=GetNewUnitNumber()
StdMeterRecordCount=0
OPEN (UNIT=OutputFileMeters,FILE='eplusout.mtr',STATUS='UNKNOWN',Action='write',iostat=write_stat)
IF (write_stat /= 0) THEN
CALL ShowFatalError('OpenOutputFiles: Could not open file "eplusout.mtr" for output (write).')
ENDIF
WRITE(OutputFileMeters,'(A)') 'Program Version,'//TRIM(VerString)
! Open the Branch-Node Details Output File
OutputFileBNDetails=GetNewUnitNumber()
OPEN (UNIT=OutputFileBNDetails,FILE='eplusout.bnd',STATUS='UNKNOWN',Action='write',iostat=write_stat)
IF (write_stat /= 0) THEN
CALL ShowFatalError('OpenOutputFiles: Could not open file "eplusout.bnd" for output (write).')
ENDIF
WRITE(OutputFileBNDetails,'(A)') 'Program Version,'//TRIM(VerString)
RETURN
END SUBROUTINE OpenOutputFiles