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) | :: | OSCMIndex | |||
integer, | intent(in) | :: | SurfCount |
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.
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 GetSurfaceIndecesForOSCM(OSCMIndex, SurfCount) RESULT (RetVal)
! FUNCTION INFORMATION:
! AUTHOR Edwin Lee
! DATE WRITTEN Summer 2011
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! <description>
! METHODOLOGY EMPLOYED:
! <description>
! REFERENCES:
! na
! USE STATEMENTS:
USE DataSurfaces, ONLY: Surface
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: OSCMIndex
INTEGER, INTENT(IN) :: SurfCount
! FUNCTION RETURN VALUE DEFINITION:
INTEGER, DIMENSION(1:SurfCount) :: RetVal
! FUNCTION LOCAL VARIABLE DECLARATIONS:
INTEGER :: SurfCtr
INTEGER :: FoundSurfIndexCtr
FoundSurfIndexCtr = 0
DO SurfCtr = 1, SIZE(Surface)
IF (Surface(SurfCtr)%OSCMPtr == OSCMIndex) THEN
FoundSurfIndexCtr = FoundSurfIndexCtr + 1
RetVal(FoundSurfIndexCtr) = SurfCtr
END IF
END DO
RETURN
END FUNCTION GetSurfaceIndecesForOSCM