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

Method UpdateRegionAssignment

Filters/Parallel/vtkPKdTree.cxx:2910–2926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2908//------------------------------------------------------------------------------
2909
2910int vtkPKdTree::UpdateRegionAssignment()
2911{
2912 SCOPETIMER("UpdateRegionAssignment");
2913
2914 int returnVal = 0;
2915
2916 if (this->RegionAssignment == ContiguousAssignment)
2917 {
2918 returnVal = this->AssignRegionsContiguous();
2919 }
2920 else if (this->RegionAssignment == RoundRobinAssignment)
2921 {
2922 returnVal = this->AssignRegionsRoundRobin();
2923 }
2924
2925 return returnVal;
2926}
2927int vtkPKdTree::AssignRegionsRoundRobin()
2928{
2929 this->RegionAssignment = RoundRobinAssignment;

Callers 3

BuildLocatorMethod · 0.95

Calls 2

Tested by

no test coverage detected