tem_PosOfPath Function

public pure function tem_PosOfPath(sPath, Pathlist, lower, upper) result(IdPos)

Find the position of a specific path in the list of all paths.

Arguments

TypeIntentOptionalAttributesName
type(tem_path_type), intent(in) :: sPath

Specific path to search.

type(tem_path_type), intent(in) :: Pathlist(:)

List of paths for all elements to search in.

integer, intent(in), optional :: lower

Possibly only search on a subinterval, starting at PathList(lower:)

integer, intent(in), optional :: upper

Possibly only search on a subinterval, ending at PathList(:upper)

Return Value integer

Position where sPath is found in Pathlist


Called by

proc~~tem_posofpath~~CalledByGraph proc~tem_posofpath tem_PosOfPath proc~identify_local_element identify_local_element proc~identify_local_element->proc~tem_posofpath proc~add_ghostfromfiner add_ghostFromFiner proc~identify_local_element->proc~add_ghostfromfiner proc~tem_findpath tem_findPath proc~tem_findpath->proc~tem_posofpath proc~tem_findpath->proc~tem_findpath proc~add_ghostfromfiner->proc~tem_posofpath proc~add_ghostfromfiner->proc~add_ghostfromfiner proc~single_process_element single_process_element proc~single_process_element->proc~identify_local_element proc~identify_halo identify_halo proc~identify_halo->proc~identify_local_element proc~identify_elements identify_elements proc~identify_elements->proc~single_process_element proc~identify_elements->proc~identify_elements proc~request_remotehalos request_remoteHalos proc~request_remotehalos->proc~identify_halo proc~create_allparentneighbors create_allParentNeighbors proc~create_allparentneighbors->proc~identify_elements proc~identify_stencilneigh identify_stencilNeigh proc~identify_stencilneigh->proc~identify_elements proc~communicate_elements communicate_elements proc~communicate_elements->proc~request_remotehalos proc~build_levelelements build_levelElements proc~build_levelelements->proc~identify_elements proc~identify_additionalneigh identify_additionalNeigh proc~identify_additionalneigh->proc~identify_elements

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: lb
integer, private :: ub
integer, private :: middleSearch
type(tem_path_type), private :: current
integer(kind=long_k), private :: pathRelation
integer, private :: maxPathLen