public subroutine tem_find_depProc_globSearch(depProc, nDepProcs, elemPath, p_lb, p_ub, PathFirst, PathLast)
Find the remote partitions holding data on a given path
Using a binary search over the processes first and last elements.
Is the element in question a local or remote element?
To look up a certain element by its
treeID in the distributed
list of elements, it is sufficient to know the splitting positions of all
chunks.
That is, the first and last
treeID of each partition.
With a binary search over the splitting positions any requested element can
then be identified to be either outside the computational domain at all, or
inside of one or several known partitions.
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.
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.