| 1265 | } |
| 1266 | } |
| 1267 | int NextProcess(Task* task) |
| 1268 | { |
| 1269 | PStreamTracerPoint* p = task->GetPoint(); |
| 1270 | int rank = p->GetRank(); |
| 1271 | if (rank >= 0) |
| 1272 | { |
| 1273 | return rank; |
| 1274 | } |
| 1275 | |
| 1276 | if (this->Locator) |
| 1277 | { |
| 1278 | rank = this->Locator->FindNextProcess(p->GetSeed()); |
| 1279 | } |
| 1280 | AssertNe(rank, Rank); |
| 1281 | return rank; |
| 1282 | } |
| 1283 | |
| 1284 | vtkSmartPointer<Task> NewTaskInstance() |
| 1285 | { |
nothing calls this directly
no test coverage detected