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 InitializeSimulationsTable
! SUBROUTINE INFORMATION:
! AUTHOR Kyle Benne
! DATE WRITTEN September 2009
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine initializes the Simulations SQL table
! METHODOLOGY EMPLOYED:
! Standard SQL92 queries and commands via the Fortran SQLite3 API
! REFERENCES:
! na
! USE STATEMENTS:
! na
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 :: result
result = SQLiteExecuteCommandMacro("CREATE TABLE Simulations (SimulationIndex INTEGER PRIMARY KEY, " &
//"EnergyPlusVersion TEXT, TimeStamp TEXT, NumTimestepsPerHour INTEGER, Completed BOOL, " &
//"CompletedSuccessfully BOOL);")
result = SQLitePrepareStatementMacro(SimulationsInsertStmt, "INSERT INTO Simulations " &
//"VALUES(?,?,?,?,'FALSE','FALSE');")
result = SQLitePrepareStatementMacro (SimulationUpdateStmt, 'UPDATE Simulations SET ' &
//'Completed = ?, CompletedSuccessfully = ? ' &
//'WHERE SimulationIndex = (SELECT count(*) FROM Simulations)')
END SUBROUTINE InitializeSimulationsTable