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 FM_F(THETA, Opt, P)
!
! AUTHOR ASHRAE 1311-RP
! DATE WRITTEN unknown
! MODIFIED na
!
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! Drape fabric property integrand.
!
!
! METHODOLOGY EMPLOYED:
! na
!
!
! REFERENCES:
! na
!
!
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
REAL(r64), INTENT(IN):: THETA ! incidence angle, radians
INTEGER, INTENT(IN):: OPT ! options (hipRHO, hipTAU)
REAL(r64), INTENT(IN):: P( hipDIM) ! parameters
!
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
REAL(r64) :: RHO_BD
REAL(r64) :: TAU_BB
REAL(r64) :: TAU_BD
! Flow
CALL FM_BEAM( THETA, P( hipRHO_BT0), P( hipTAU_BT0), P( hipTAU_BB0), &
RHO_BD, TAU_BB, TAU_BD)
IF (OPT == hipRHO) THEN
FM_F = RHO_BD
ELSE IF (OPT == hipTAU) THEN
FM_F = TAU_BB+TAU_BD
ELSE
FM_F = -1.0d0
ENDIF
RETURN
END FUNCTION FM_F