tem_findPath Subroutine

public recursive subroutine tem_findPath(Path, eligible_child, ElemList, pathlist, nElems, otherLevel)

Recursive routine to find all actual (eligible) leave nodes in the local partition for a given treeID.

Arguments

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

Path to the leaf to find in the array of Elements

integer, intent(in) :: eligible_child(:)

Candidate childs, which might be considered as neighbors

type(tem_longList), pointer:: ElemList

linked list of resulting elements building the neighbor

type(tem_path_type), intent(in) :: pathlist(nElems)

array of paths

integer, intent(in) :: nElems

number of elements in list

logical, intent(inout), optional :: otherLevel

entry is on another level


Calls

proc~~tem_findpath~~CallsGraph proc~tem_findpath tem_findPath proc~tem_findpath->proc~tem_findpath proc~tem_pathof tem_PathOf proc~tem_findpath->proc~tem_pathof interface~append~22 append proc~tem_findpath->interface~append~22 proc~tem_posofpath tem_PosOfPath proc~tem_findpath->proc~tem_posofpath proc~tem_appendsp1darray tem_appendSp1dArray interface~append~22->proc~tem_appendsp1darray proc~tem_appendintlist tem_appendIntList interface~append~22->proc~tem_appendintlist proc~tem_appendintlong1darray tem_appendIntLong1dArray interface~append~22->proc~tem_appendintlong1darray proc~tem_appenddp2darray tem_appendDp2dArray interface~append~22->proc~tem_appenddp2darray proc~tem_appendintlongarrayto1darray tem_appendIntLongArrayTo1dArray interface~append~22->proc~tem_appendintlongarrayto1darray proc~tem_appendlonglist tem_appendLongList interface~append~22->proc~tem_appendlonglist proc~tem_appendint2darray tem_appendInt2dArray interface~append~22->proc~tem_appendint2darray proc~tem_appendsp2darray tem_appendSp2dArray interface~append~22->proc~tem_appendsp2darray proc~tem_appendint1darray tem_appendInt1dArray interface~append~22->proc~tem_appendint1darray proc~tem_appendintlong2darray tem_appendIntLong2dArray interface~append~22->proc~tem_appendintlong2darray proc~tem_appenddp1darray tem_appendDp1dArray interface~append~22->proc~tem_appenddp1darray

Contents


Variables

TypeVisibilityAttributesNameInitial
integer(kind=long_k), private :: pos
integer, private :: i
integer(kind=long_k), private :: off
type(tem_path_type), private :: childPath