------------------------------------------------------------------------------
| 1189 | |
| 1190 | //------------------------------------------------------------------------------ |
| 1191 | bool vtkAMRResampleFilter::IsRegionMine(int regionIdx) |
| 1192 | { |
| 1193 | if (!this->IsParallel()) |
| 1194 | { |
| 1195 | return true; |
| 1196 | } |
| 1197 | |
| 1198 | int myRank = this->Controller->GetLocalProcessId(); |
| 1199 | return myRank == this->GetRegionProcessId(regionIdx); |
| 1200 | } |
| 1201 | |
| 1202 | //------------------------------------------------------------------------------ |
| 1203 | bool vtkAMRResampleFilter::IsParallel() |
no test coverage detected