vtkDistributedDataFilter fails to distribute data sets with nCells < nProcesses
If a dataset consists of fewer cells than processes, vtkPDistributedDataFilter generates duplicated cells.
Here is a python script to reproduce the issue and the results when distributing 2 cells on 3 procs:
- Input proc 0: 2 Cells: [0 1]
- Input proc 1: 0 Cells:
- Input proc 2: 0 Cells:
- Output proc 0: 2 Cells: [0 0]
- Output proc 1: 1 Cells: [1]
- Output proc 2: 0 Cells:
Edited by Tristan Coulange