Routine to find the process a certain treeID is on. Looks in the ranks in the array of argument procs Returns the INDEX of the found proc in this array Example: procs = [4 8 7] and we find our treeID on rank 8 will return procIndex = 2
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=long_k), | intent(in) | :: | sTreeID |
TreeID to look for |
||
| type(mus_geom_type), | intent(in) | :: | geometry |
Geometry to look in |
||
| integer, | intent(in), | optional | :: | procs(:) |
Only look on these ranks (look in all ranks if omitted) |
|
| integer, | intent(in) | :: | nProcs |
Number of elements in procs |
||
| integer, | intent(out) | :: | outProc |
Process which the treeID is on |
||
| integer, | intent(out) | :: | procIndex |
Index of that process |