Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(out) | :: | RAT_1MRDiff | |||
real(kind=r64), | intent(out) | :: | RAT_TAUDiff |
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_RATDiff(RAT_1MRDiff, RAT_TAUDiff)
!
! 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:
! Returns property ratios for estimating diffuse properties.
!
!
! METHODOLOGY EMPLOYED:
! na
!
! REFERENCES:
! na
!
! USE STATEMENTS:
! na
!
IMPLICIT NONE
! SUBROUTINE ARGUMENT DEFINITIONS:
REAL(r64), INTENT(OUT) :: RAT_1MRDiff
REAL(r64), INTENT(OUT) :: RAT_TAUDiff
!
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
REAL(r64), SAVE :: X1MRDiff = -1.0d0
REAL(r64), SAVE :: XTAUDiff = -1.0d0
REAL(r64) :: P( hipDIM)
! Flow
IF (XTAUDiff < 0.0d0) THEN
! calculate and save on first call
X1MRDiff = HEMINT( Specular_F, hipRHO, P)
XTAUDiff = HEMINT( Specular_F, hipTAU, P)
END IF
RAT_TAUDiff = XTAUDiff
RAT_1MRDiff = X1MRDiff
RETURN
END SUBROUTINE Specular_RATDiff