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 | |||
character(len=*), | intent(in), | optional | :: | UsrDesc | ||
real(kind=r64), | intent(in), | optional | :: | UsrValue |
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 ReportSizingOutput(CompType,CompName,VarDesc,VarValue,UsrDesc,UsrValue)
! SUBROUTINE INFORMATION:
! AUTHOR Fred Buhl
! DATE WRITTEN Decenber 2001
! MODIFIED August 2008, Greg Stark
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine writes one item of sizing data to the "eio" file..
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE DataPrecisionGlobals
USE DataGlobals, ONLY : OutputFileInits
USE OutputReportPredefined
USE General, ONLY: RoundSigDigits
USE SQLiteProcedures
USE DataInterfaces, ONLY: ShowFatalError
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
CHARACTER(len=*), INTENT(IN),OPTIONAL :: UsrDesc ! the description of a user-specified variable
REAL(r64), INTENT(IN), OPTIONAL :: UsrValue ! the value from the user for the desc item
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
LOGICAL, SAVE :: MyOneTimeFlag = .TRUE.
IF (MyOneTimeFlag) THEN
WRITE(OutputFileInits, 990)
MyOneTimeFlag = .FALSE.
END IF
WRITE (OutputFileInits, 991) TRIM(CompType), TRIM(CompName), TRIM(VarDesc), TRIM(RoundSigDigits(VarValue,5))
!add to tabular output reports
CALL AddCompSizeTableEntry(CompType,CompName,VarDesc,VarValue)
IF (PRESENT(UsrDesc) .and. PRESENT(UsrValue)) THEN
WRITE (OutputFileInits, 991) TRIM(CompType), TRIM(CompName), TRIM(UsrDesc), TRIM(RoundSigDigits(UsrValue,5))
CALL AddCompSizeTableEntry(CompType,CompName,UsrDesc,UsrValue)
ELSEIF (PRESENT(UsrDesc) .or. PRESENT(UsrValue)) THEN
CALL ShowFatalError('ReportSizingOutput: (Developer Error) - called with user-specified description or value but not both.')
ENDIF
! add to SQL output
IF (WriteOutputToSQLite) CALL AddSQLiteComponentSizingRecord(CompType, CompName, VarDesc, VarValue)
990 FORMAT('! <Component Sizing Information>, Component Type, Component Name, ', &
'Input Field Description, Value')
991 FORMAT(' Component Sizing Information, ',A,', ',A,', ',A,', ',A)
RETURN
END SUBROUTINE ReportSizingOutput