Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(in) | :: | THETA | |||
integer, | intent(in) | :: | OPT | |||
real(kind=r64), | intent(in) | :: | P(hipDIM) |
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 Specular_F(THETA, OPT, P)
!
! FUNCTION 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 FUNCTION:
! integrand fcn for specular properties.
!
! METHODOLOGY EMPLOYED:
! na
!
! REFERENCES:
! na
!
! USE STATEMENTS:
! na
!
!
IMPLICIT NONE
! FUNCTION ARGUMENT DEFINITIONS:
REAL(r64), INTENT(IN) :: THETA ! incidence angle, radians
INTEGER, INTENT(IN) :: OPT ! options (unused)
! 1: reflectance
! 2: transmittance
REAL(r64), INTENT(IN) :: P( hipDIM) ! parameters (none defined)
!
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
REAL(r64) :: RAT_TAU
REAL(r64) :: RAT_1MR
LOGICAL :: Specular_OffNormalReturn = .TRUE.
! Flow
! Modified by BAN April 19, 2013
Specular_OffNormalReturn = Specular_OffNormal( THETA, RAT_1MR, RAT_TAU)
IF (OPT == hipRHO) THEN
Specular_F = RAT_1MR
ELSE IF (OPT == hipTAU) THEN
Specular_F = RAT_TAU
ELSE
Specular_F = -1.0d0
ENDIF
RETURN
END FUNCTION Specular_F