Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(out), | DIMENSION(:) | :: | SectionList | ||
integer, | intent(out) | :: | NuminList |
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 GetListofSectionsinInput(SectionList,NuminList)
! SUBROUTINE INFORMATION:
! AUTHOR Linda K. Lawrie
! DATE WRITTEN September 1997
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine returns the list of sections as they occurred
! in the Input Data File (IDF).
! METHODOLOGY EMPLOYED:
! Look up object in list of objects. If there, return the
! number of objects found in the current input. If not, return
! -1.
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
CHARACTER(len=*), DIMENSION(:), INTENT(OUT) :: SectionList
INTEGER, INTENT(OUT) :: NuminList
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER MaxAllowedOut
MaxAllowedOut=MIN(NumIDFSections,SIZE(SectionList))
IF (MaxAllowedOut /= NumIDFSections) THEN
CALL ShowWarningError('More in list than allowed in passed array - (GetListofSectionsinInput)')
ENDIF
NuminList=MaxAllowedOut
SectionList(1:MaxAllowedOut)=SectionsonFile(1:MaxAllowedOut)%Name
RETURN
END SUBROUTINE GetListofSectionsinInput