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) | :: | CompType | |||
character(len=*), | intent(in) | :: | CompName | |||
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 AddSQLiteComponentSizingRecord (CompType, CompName, VarDesc, VarValue)
! SUBROUTINE INFORMATION:
! AUTHOR Greg Stark
! DATE WRITTEN August 2008
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine writes one item of 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) :: CompType ! the type of the component
CHARACTER(len=*), INTENT(IN) :: CompName ! the name of the component
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 (ComponentSizingInsertStmt, 1, CompType)
result = SQLiteBindTextMacro (ComponentSizingInsertStmt, 2, CompName)
result = SQLiteBindTextMacro (ComponentSizingInsertStmt, 3, Description)
result = SQLiteBindDouble (ComponentSizingInsertStmt, 4, VarValue)
result = SQLiteBindTextMacro (ComponentSizingInsertStmt, 5, GetUnitsString (VarDesc))
result = SQLiteStepCommand (ComponentSizingInsertStmt)
result = SQLiteResetCommand (ComponentSizingInsertStmt)
END SUBROUTINE AddSQLiteComponentSizingRecord