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

Method GetLocalVal

Filters/Parallel/vtkPKdTree.cxx:1076–1085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1074 return _whoHas(0, this->NumProcesses - 1, pos);
1075}
1076float* vtkPKdTree::GetLocalVal(int pos)
1077{
1078 if ((pos < this->StartVal[this->MyId]) || (pos > this->EndVal[this->MyId]))
1079 {
1080 return nullptr;
1081 }
1082 int localPos = pos - this->StartVal[this->MyId];
1083
1084 return this->CurrentPtArray + (3 * localPos);
1085}
1086float* vtkPKdTree::GetLocalValNext(int pos)
1087{
1088 if ((pos < this->StartVal[this->MyId]) || (pos > this->EndVal[this->MyId]))

Callers 8

DivideRegionMethod · 0.95
ExchangeValsMethod · 0.95
SelectMethod · 0.95
ExchangeLocalValsMethod · 0.95
DoTransferMethod · 0.95
PartitionSubArrayMethod · 0.95
PartitionAboutMyValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected