Nodes of different colours represent the following:
Solid arrows point from a parent (sub)module to the submodule which is descended from it. Dashed arrows point from a module being used to the module or program unit using it. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | CurveIndex | |||
logical, | intent(inout) | :: | ErrorsFound | |||
real(kind=r64), | intent(in), | optional | :: | CurveMin | ||
real(kind=r64), | intent(in), | optional | :: | CurveMax |
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 SetCurveOutputMinMaxValues(CurveIndex,ErrorsFound,CurveMin,CurveMax)
! FUNCTION INFORMATION:
! AUTHOR Richard Raustad
! DATE WRITTEN Feb 2009
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! Given the curve index, sets the minimum and maximum possible value for this curve.
! Certain curve types have set limits (e.g., PLF curve should not be greater than 1 or less than 0.7).
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE General, ONLY: TrimSigDigits
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
INTEGER, INTENT (IN) :: CurveIndex ! index of curve in curve array
LOGICAL, INTENT (INOUT) :: ErrorsFound ! TRUE when errors occur
REAL(r64), INTENT (IN), OPTIONAL :: CurveMin ! Minimum value of curve output
REAL(r64), INTENT (IN), OPTIONAL :: CurveMax ! Maximum values of curve output
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
IF(CurveIndex .GT. 0 .AND. CurveIndex .LE. NumCurves)THEN
IF (PRESENT(CurveMin))THEN
PerfCurve(CurveIndex)%CurveMin = CurveMin
PerfCurve(CurveIndex)%CurveMinPresent = .TRUE.
END IF
IF (PRESENT(CurveMax))THEN
PerfCurve(CurveIndex)%CurveMax = CurveMax
PerfCurve(CurveIndex)%CurveMaxPresent = .TRUE.
END IF
ELSE
CALL ShowSevereError('SetCurveOutputMinMaxValues: CurveIndex=['//trim(TrimSigDigits(CurveIndex))// &
'] not in range of curves=[1:'//trim(TrimSigDigits(NumCurves))//'].')
ErrorsFound = .TRUE.
END IF
RETURN
END SUBROUTINE SetCurveOutputMinMaxValues