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) | :: | PosVec |
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 SkyGndWeight (PosVec) 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) :: PosVec ! x,y,z(=0) of ground intersection pt
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
! At present, equally weights all ground rays for calculation of the complex window transmittance for
! sky radiation reflected from ground. This does not take into account shading of the ground.
! The correct procedure would be to generate a set of rays to the sky and see which do not intersect
! surfaces, as is done in the reflection manager. However, this would increase computational load.
! Given that equal weighting, by averaging the transmittance only over rays that come from the ground,
! already produces a more accurate ground transmittance than the existing method, it is at least questionable
! whether the more detailed procedure would produce enough improvement in accuracy to make up for
! the additional calculation time. Therefore a more detailed treatment is deferred until there is some
! experience with the new method to determine whether further detail is warranted.
RETURN
END FUNCTION SkyGndWeight