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 | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | SurfNum |
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.
REAL(r64) FUNCTION SetIntConvectionCoeff(SurfNum)
! FUNCTION INFORMATION:
! AUTHOR Linda K. Lawrie
! DATE WRITTEN May 1998
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! This function accesses the data structre for the User
! Supplied Interior Convection Coefficients and returns that
! as the result of this function. The surface has already
! been verified to have user supplied interior convection values.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE ScheduleManager, ONLY: GetCurrentScheduleValue
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: SurfNum ! Surface Number
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
! na
REAL(r64) HInt ! Will become the returned value
SELECT CASE (UserIntConvectionCoeffs(Surface(SurfNum)%IntConvCoeff)%OverrideType)
CASE (ConvCoefValue)
HInt=UserIntConvectionCoeffs(Surface(SurfNum)%IntConvCoeff)%OverrideValue
Surface(SurfNum)%IntConvHcModelEq = HcInt_UserValue !reporting
CASE (ConvCoefSchedule)
HInt=GetCurrentScheduleValue(UserIntConvectionCoeffs(Surface(SurfNum)%IntConvCoeff)%ScheduleIndex)
! Need to check for validity
Surface(SurfNum)%IntConvHcModelEq = HcInt_UserSchedule !reporting
CASE (ConvCoefUserCurve)
CALL CalcUserDefinedInsideHcModel(SurfNum, &
UserIntConvectionCoeffs(Surface(SurfNum)%IntConvCoeff)%UserCurveIndex, HInt)
Surface(SurfNum)%IntConvHcModelEq = HcInt_UserCurve !reporting
CASE ( ConvCoefSpecifiedModel )
CALL EvaluateIntHcModels(SurfNum, UserIntConvectionCoeffs(Surface(SurfNum)%IntConvCoeff)%HcModelEq, HInt)
Surface(SurfNum)%IntConvHcModelEq = UserIntConvectionCoeffs(Surface(SurfNum)%IntConvCoeff)%HcModelEq
END SELECT
SetIntConvectionCoeff=HInt
RETURN
END FUNCTION SetIntConvectionCoeff