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 SetExtConvectionCoeff(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 structure for the User
! Supplied Exterior Convection Coefficients and returns that
! as the result of this function. The surface has already
! been verified to have user supplied exterior 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:
REAL(r64) HExt ! Will become the returned value
SELECT CASE (UserExtConvectionCoeffs(Surface(SurfNum)%ExtConvCoeff)%OverrideType)
CASE (ConvCoefValue)
HExt=UserExtConvectionCoeffs(Surface(SurfNum)%ExtConvCoeff)%OverrideValue
Surface(SurfNum)%OutConvHfModelEq = HcExt_UserValue !reporting
Surface(SurfNum)%OutConvHnModelEq = HcExt_None !reporting
CASE (ConvCoefSchedule)
HExt=GetCurrentScheduleValue(UserExtConvectionCoeffs(Surface(SurfNum)%ExtConvCoeff)%ScheduleIndex)
! Need to check for validity
Surface(SurfNum)%OutConvHfModelEq = HcExt_UserSchedule !reporting
Surface(SurfNum)%OutConvHnModelEq = HcExt_None !reporting
CASE (ConvCoefUserCurve)
Call CalcUserDefinedOutsideHcModel(SurfNum, &
UserExtConvectionCoeffs(Surface(SurfNum)%ExtConvCoeff)%UserCurveIndex, HExt)
Surface(SurfNum)%OutConvHfModelEq = HcExt_UserCurve !reporting
Surface(SurfNum)%OutConvHnModelEq = HcExt_None !reporting
CASE (ConvCoefSpecifiedModel)
CALL EvaluateExtHcModels(SurfNum, &
UserExtConvectionCoeffs(Surface(SurfNum)%ExtConvCoeff)%HcModelEq, &
UserExtConvectionCoeffs(Surface(SurfNum)%ExtConvCoeff)%HcModelEq, HExt)
Surface(SurfNum)%OutConvHfModelEq = UserExtConvectionCoeffs(Surface(SurfNum)%ExtConvCoeff)%HcModelEq !reporting
Surface(SurfNum)%OutConvHnModelEq = UserExtConvectionCoeffs(Surface(SurfNum)%ExtConvCoeff)%HcModelEq !reporting
END SELECT
SetExtConvectionCoeff=HExt
RETURN
END FUNCTION SetExtConvectionCoeff