----------------------- Fast versions ----------------------------//
| 1756 | |
| 1757 | // ----------------------- Fast versions ----------------------------// |
| 1758 | vtkIdTypeArray* vtkPDistributedDataFilter::ExchangeCountsFast( |
| 1759 | vtkIdType myCount, int vtkNotUsed(tag)) |
| 1760 | { |
| 1761 | int nprocs = this->NumProcesses; |
| 1762 | |
| 1763 | vtkIdType* counts = new vtkIdType[nprocs]; |
| 1764 | this->Controller->AllGather(&myCount, counts, 1); |
| 1765 | |
| 1766 | vtkIdTypeArray* countArray = vtkIdTypeArray::New(); |
| 1767 | countArray->SetArray(counts, nprocs, 0, vtkIdTypeArray::VTK_DATA_ARRAY_DELETE); |
| 1768 | return countArray; |
| 1769 | } |
| 1770 | |
| 1771 | //------------------------------------------------------------------------------ |
| 1772 | vtkFloatArray** vtkPDistributedDataFilter::ExchangeFloatArraysFast( |
no test coverage detected