| 3405 | } |
| 3406 | |
| 3407 | int vtkPKdTree::GetProcessAssignedToRegion(int regionId) |
| 3408 | { |
| 3409 | if (this->RegionAssignmentMap.empty() || (regionId < 0) || |
| 3410 | (regionId >= this->GetNumberOfRegions())) |
| 3411 | { |
| 3412 | return -1; |
| 3413 | } |
| 3414 | |
| 3415 | return this->RegionAssignmentMap[regionId]; |
| 3416 | } |
| 3417 | int vtkPKdTree::HasData(int processId, int regionId) |
| 3418 | { |
| 3419 | if (this->DataLocationMap.empty() || (processId < 0) || (processId >= this->NumProcesses) || |
no test coverage detected