| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=r64), | intent(in) | :: | DeltaTemp | |||
| real(kind=r64), | intent(in) | :: | HydraulicDiameter | 
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.
FUNCTION CalcAwbiHattonHeatedWall(DeltaTemp, HydraulicDiameter)  RESULT (Hc)
          ! FUNCTION INFORMATION:
          !       AUTHOR         Brent Griffith
          !       DATE WRITTEN   Jul 2010
          !       MODIFIED       na
          !       RE-ENGINEERED  na
          ! PURPOSE OF THIS FUNCTION:
          ! Calculate model equation for Awbi and Hatton for heated walls
          ! METHODOLOGY EMPLOYED:
          ! isolate function for equation.
          ! REFERENCES:
          ! Awbi, H.B. and A. Hatton. 1999. Natural convection from heated room surfaces.
          !   Energy and Buildings 30 (1999) 233-244.
          !   This function is for equation 12 in the reference
          ! USE STATEMENTS:
          ! na
  IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
          ! FUNCTION ARGUMENT DEFINITIONS:
  REAL(r64), INTENT(IN) :: DeltaTemp         ! [C] temperature difference between surface and air
  REAL(r64), INTENT(IN) :: HydraulicDiameter ! [m] characteristic size, = (4 * area) / perimeter
  REAL(r64)             :: Hc ! function result
          ! FUNCTION PARAMETER DEFINITIONS:
          ! na
          ! INTERFACE BLOCK SPECIFICATIONS:
          ! na
          ! DERIVED TYPE DEFINITIONS:
          ! na
          ! FUNCTION LOCAL VARIABLE DECLARATIONS:
  IF (HydraulicDiameter > 1.d0) THEN
    Hc = 1.823d0*((ABS(DeltaTemp))**0.293d0)/ (HydraulicDiameter**0.121d0)
  ELSE
    Hc = 1.823d0*((ABS(DeltaTemp))**0.293d0)/ (1.d0**0.121d0)
  ENDIF
  RETURN
END FUNCTION CalcAwbiHattonHeatedWall