Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CFSSWP), | intent(inout) | :: | SWP | |||
real(kind=r64), | intent(in) | :: | RAT_1MR | |||
real(kind=r64), | intent(in) | :: | RAT_TAU |
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_Adjust(SWP, RAT_1MR, RAT_TAU)
!
! 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:
! adjusts the off-normal solar properties
!
!
! METHODOLOGY EMPLOYED:
! na
!
!
! REFERENCES:
! na
!
! USE STATEMENTS:
! na
!
!
IMPLICIT NONE
! SUBROUTINE ARGUMENT DEFINITIONS:
TYPE (CFSSWP), INTENT(INOUT) :: SWP ! short wave properties (adjusted in place)
REAL(r64), INTENT(IN) :: RAT_1MR ! adjustment factors, see Specular_OffNormal()
REAL(r64), INTENT(IN) :: RAT_TAU ! adjustment factors, see Specular_OffNormal()
!
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! na
SWP%TAUSFBB = RAT_TAU * SWP%TAUSFBB
SWP%TAUSBBB = RAT_TAU * SWP%TAUSBBB
SWP%RHOSFBB = 1.d0 - RAT_1MR * (1.d0 - SWP%RHOSFBB)
SWP%RHOSBBB = 1.d0 - RAT_1MR * (1.d0 - SWP%RHOSBBB)
RETURN
END SUBROUTINE Specular_Adjust