Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CFSSWP), | intent(inout) | :: | SWP |
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.
SUBROUTINE Specular_EstimateDiffuseProps(SWP)
!
! SUBROUTINE INFORMATION:
! AUTHOR JOHN L. WRIGHT, University of Waterloo, Mechanical Engineering
! Advanced Glazing System Laboratory
! DATE WRITTEN unknown
! MODIFIED na
!
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Estimates diffuse-diffuse properties.
!
!
! METHODOLOGY EMPLOYED:
! na
!
!
! REFERENCES:
! na
!
! USE STATEMENTS:
! na
!
!
IMPLICIT NONE
! SUBROUTINE ARGUMENT DEFINITIONS:
TYPE( CFSSWP), INTENT(INOUT) :: SWP ! short wave properties
! sets diffuse members
!
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
!
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
REAL(r64) :: RAT_TAU
REAL(r64) :: RAT_1MR
! Flow
!#if 1
CALL Specular_RATDiff( RAT_1MR, RAT_TAU)
!#else
! ! estimate diffuse properties as 60 deg angle of incidence
! CALL Specular_RAT60( RAT_TAU, RAT_1MR)
!#endif
SWP%TAUS_DD = RAT_TAU * SWP%TAUSFBB
SWP%RHOSFDD = 1.0d0 - RAT_1MR * (1.0d0 - SWP%RHOSFBB)
SWP%RHOSBDD = 1.0d0 - RAT_1MR * (1.0d0 - SWP%RHOSBBB)
RETURN
END SUBROUTINE Specular_EstimateDiffuseProps