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=*), | intent(in) | :: | SysName | |||
character(len=*), | intent(in) | :: | VarDesc | |||
real(kind=r64), | intent(in) | :: | VarValue |
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 AddSQLiteSystemSizingRecord (SysName, VarDesc, VarValue)
! SUBROUTINE INFORMATION:
! AUTHOR Greg Stark
! DATE WRITTEN August 2008
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine writes zone sizing data to the SQL database
! METHODOLOGY EMPLOYED:
! Standard SQL92 queries and commands via the Fortran SQLite3 API
! REFERENCES:
! na
! USE STATEMENTS:
USE DataPrecisionGlobals
USE DataGlobals, ONLY : OutputFileInits
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
CHARACTER(len=*), INTENT(IN) :: SysName ! the name of the system
CHARACTER(len=*), INTENT(IN) :: VarDesc ! the description of the input variable
REAL(r64), INTENT(IN) :: VarValue ! the value from the sizing calculation
! SUBROUTINE PARAMETER DEFINITIONS:
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: result
INTEGER :: item
CHARACTER(len=len(VarDesc)) :: Description ! Description without units
item = INDEX (VarDesc, '[')
IF (item /= 0) THEN
Description = VarDesc (1:item - 1)
ELSE
Description = VarDesc
END IF
result = SQLiteBindTextMacro (SystemSizingInsertStmt, 1, SysName)
result = SQLiteBindTextMacro (SystemSizingInsertStmt, 2, Description)
result = SQLiteBindDouble (SystemSizingInsertStmt, 3, VarValue)
result = SQLiteBindTextMacro (SystemSizingInsertStmt, 4, GetUnitsString (VarDesc))
result = SQLiteStepCommand (SystemSizingInsertStmt)
result = SQLiteResetCommand (SystemSizingInsertStmt)
END SUBROUTINE AddSQLiteSystemSizingRecord