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

Method getLocalRank

Parallel/Core/vtkSubGroup.cxx:233–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233int vtkSubGroup::getLocalRank(int processId)
234{
235 int localRank = processId - this->members[0];
236
237 if ((localRank < 0) || (localRank >= this->nmembers))
238 return -1;
239 else
240 return localRank;
241}
242#define MINOP \
243 if (tempbuf[p] < buf[p]) \
244 { \

Callers 2

SelectMethod · 0.80
PartitionSubArrayMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected