Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(in) | :: | TB | |||
character(len=*), | intent(in), | optional | :: | calledfrom |
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.
FUNCTION RhoH2O(TB,calledfrom) RESULT(RhoResult)
! FUNCTION INFORMATION:
! AUTHOR SIGSTEINN P. GRETARSSON
! DATE WRITTEN April 1992
! PURPOSE OF THIS FUNCTION:
! This function provides the density of water at a specific temperature.
! METHODOLOGY EMPLOYED:
! Density of water [kg/m3]
! (RANGE: KelvinConv - 423.15 DEG. K) (convert to C first)
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE
! FUNCTION ARGUMENT DEFINITIONS:
REAL(r64), INTENT(in) :: TB ! Dry bulb temperature. {C}
character(len=*), intent(in), optional :: calledfrom ! routine this function was called from (error messages) !unused1208
REAL(r64) :: RhoResult
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
! na
RhoResult=1000.1207d0+8.3215874d-04*TB-4.929976d-03*TB**2+8.4791863d-06*TB**3
RETURN
END FUNCTION RhoH2O