Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(in) | :: | Temp |
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 CalcSatVapPressFromTemp(Temp)
! FUNCTION INFORMATION:
! AUTHOR Jaewook Lee
! DATE WRITTEN January 2000
! MODIFIED Rick Strand (for E+ implementation February 2000)
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! THIS IS A FUNCTION TO CALCULATE THE SATURATED VAPOR PRESSURE
! FROM AIR TEMPERATURE
! METHODOLOGY EMPLOYED:
! This function is based upon the work performed by Dan Maloney for
! the BLAST program.
! REFERENCES:
! Maloney, Dan, M.S. Thesis, University of Illinois at Urbana-Champaign
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this function
! FUNCTION ARGUMENT DEFINITIONS:
! na
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
REAL(r64), INTENT(IN) :: Temp
REAL(r64) :: XT
! FLOW
XT = Temp/100.d0
CalcSatVapPressFromTemp = 6.16796d0 + 358.1855d0*XT**2 - 550.3543d0*XT**3 + 1048.8115d0*XT**4
RETURN
END FUNCTION CalcSatVapPressFromTemp