Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CFSLayer), | intent(in) | :: | L |
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 ConvectionFactor(L)
!
! AUTHOR ASHRAE 1311-RP
! DATE WRITTEN unknown
! MODIFIED na
! RE-ENGINEERED na
!
! PURPOSE OF THIS FUNCTION:
! Modifies convection rate per shade configuration, layer convection enhancement
!
!
! METHODOLOGY EMPLOYED:
! na
!
!
! REFERENCES:
! na
!
!
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
TYPE(CFSLayer), INTENT(IN) :: L ! window layer
!
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
REAL(r64) :: SlatADeg
! Flow
IF (L%LTYPE == ltyVBHOR) THEN
! horiz VB: enhanced convection at +/- 45 due to "pumping"
SlatADeg = MIN( 90.0d0, ABS( L%PHI_DEG))
ConvectionFactor = 1.0d0 + 0.2d0 * SIN( 2.0d0 * SlatADeg)
ELSE
ConvectionFactor = 1.0d0
END IF
RETURN
END FUNCTION ConvectionFactor