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 | ||
---|---|---|---|---|---|---|
type(vector), | intent(in) | :: | DirVec |
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 SkyWeight (DirVec) RESULT(Wt)
! FUNCTION INFORMATION:
! AUTHOR Joe Klems
! DATE WRITTEN June 2011
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! Search a one-dimensional array for a given value, returning the index of the element equal to the value, if
! found, or zero
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE vectors
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
TYPE (vector), INTENT (IN) :: DirVec ! Direction of the element to be weighted
REAL(r64) :: Wt ! Weight
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS
!na
!Flow:
Wt = 1.0d0
! To do: figure out how to weight sky elements to reproduce the current E+ assumptions
! Possibly one will need to calculated average DH transmittance for isotropic sky and
! horizon separately and then later average according to sky conditions. Then a completely
! different scheme for daylight. For now: rays that reach sky equally weighted in calculating
! transmittance, rays passing through surfaces with scheduled transmittance are neglected.
RETURN
END FUNCTION SkyWeight