MCPcopy Create free account
hub / github.com/Kitware/VTK / FindNextProcess

Method FindNextProcess

Filters/ParallelFlowPaths/vtkPStreamTracer.cxx:475–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473
474 bool InCurrentProcess(double* p) { return InBB(p, GetBoundingBox(Rank)); }
475 int FindNextProcess(double* p)
476 {
477 for (int rank = CNext(this->Rank, this->NumProcs); rank != Rank;
478 rank = CNext(rank, this->NumProcs))
479 {
480 if (InBB(p, GetBoundingBox(rank)))
481 {
482 return rank;
483 }
484 }
485 return -1;
486 }
487
488private:
489 ProcessLocator()

Callers 1

NextProcessMethod · 0.80

Calls 3

CNextFunction · 0.85
InBBFunction · 0.85
GetBoundingBoxFunction · 0.85

Tested by

no test coverage detected