Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | alph | |||
logical, | intent(inout) | :: | errFlag | |||
character(len=*), | intent(in) | :: | ObjName |
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 GetCurveCheck(alph, errFlag, ObjName) RESULT (GetCurveCheckOut)
! FUNCTION INFORMATION:
! AUTHOR Jason Glazer
! DATE WRITTEN March 2001
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! This function provides a simple call to both return a curve index as well
! as check for validity and produce an error message.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
CHARACTER(len=*), INTENT(IN) :: alph ! curve name
LOGICAL, INTENT(INOUT) :: errFlag
CHARACTER(len=*), INTENT(IN) :: ObjName ! parent object of curve
INTEGER :: GetCurveCheckOut
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
! na
GetCurveCheckOut = GetCurveIndex(alph) ! convert curve name to pointer
IF (GetCurveCheckOut .EQ. 0) THEN
CALL ShowSevereError('Curve Not Found for Object="' // TRIM(ObjName) // '" :: '// TRIM(alph))
errFlag=.TRUE.
END IF
RETURN
END FUNCTION GetCurveCheck