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=*) | :: | Message | ||||
integer, | optional | :: | OutUnit1 | |||
integer, | optional | :: | OutUnit2 |
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 ShowContinueErrorTimeStamp(Message,OutUnit1,OutUnit2)
! SUBROUTINE INFORMATION:
! AUTHOR Linda K. Lawrie
! DATE WRITTEN February 2004
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine displays a 'continued error' timestamp message on designated output files.
! METHODOLOGY EMPLOYED:
! Calls ShowErrorMessage utility routine.
! REFERENCES:
! na
! USE STATEMENTS:
USE General, ONLY : CreateSysTimeIntervalString
USE DataEnvironment, ONLY : EnvironmentName,CurMnDy
USE DataGlobals, ONLY : WarmupFlag,DoingSizing
USE DataInterfaces, ONLY: ShowErrorMessage
USE SQLiteProcedures, ONLY: UpdateSQLiteErrorRecord, WriteOutputToSQLite
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
CHARACTER(len=*) Message
INTEGER, OPTIONAL :: OutUnit1
INTEGER, OPTIONAL :: OutUnit2
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! see DataInterfaces
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
CHARACTER(len=100) :: cEnvHeader
IF (WarmupFlag) THEN
IF (.not. DoingSizing) THEN
cEnvHeader=' During Warmup, Environment='
ELSE
cEnvHeader=' During Warmup & Sizing, Environment='
ENDIF
ELSE
IF (.not. DoingSizing) THEN
cEnvHeader=' Environment='
ELSE
cEnvHeader=' During Sizing, Environment='
ENDIF
ENDIF
IF (Len_Trim(Message) < 50) THEN
CALL ShowErrorMessage(' ** ~~~ ** '//TRIM(Message)//TRIM(cEnvHeader)//TRIM(EnvironmentName)//', at Simulation time='// &
TRIM(CurMnDy)//' '//TRIM(CreateSysTimeIntervalString()), &
OutUnit1,OutUnit2)
IF(WriteOutputToSQLite) THEN
CALL UpdateSQLiteErrorRecord(TRIM(Message)//TRIM(cEnvHeader)//TRIM(EnvironmentName)//', at Simulation time='// &
TRIM(CurMnDy)//' '//TRIM(CreateSysTimeIntervalString()))
ENDIF
ELSE
CALL ShowErrorMessage(' ** ~~~ ** '//TRIM(Message))
CALL ShowErrorMessage(' ** ~~~ ** '//TRIM(cEnvHeader)//TRIM(EnvironmentName)//', at Simulation time='// &
TRIM(CurMnDy)//' '//TRIM(CreateSysTimeIntervalString()), &
OutUnit1,OutUnit2)
IF(WriteOutputToSQLite) THEN
CALL UpdateSQLiteErrorRecord(TRIM(Message)// &
TRIM(cEnvHeader)//TRIM(EnvironmentName)//', at Simulation time='// &
TRIM(CurMnDy)//' '//TRIM(CreateSysTimeIntervalString()))
ENDIF
ENDIF
RETURN
END SUBROUTINE ShowContinueErrorTimeStamp