* \struct PartitionInformation * \brief Encapsulation structure for describing the result of a partitioning calculation * * This structures defines a format for transmitting partition information from the * partitioning algorithm to the communication and dispatching phase of the * vtkRedistributeDataSetFilter. Its elements are: * - TargetEntity: an enum signaling which principal
| 73 | * ghost information during communication and dispatching. |
| 74 | */ |
| 75 | struct PartitionInformation |
| 76 | { |
| 77 | public: |
| 78 | /** |
| 79 | * Principal entity on which the partitioning is defined |
| 80 | */ |
| 81 | PartitionedEntity TargetEntity = CELLS; |
| 82 | /** |
| 83 | * An array defining on which rank each currently local principal entity should be shipped to |
| 84 | */ |
| 85 | vtkNew<vtkIdTypeArray> TargetPartitions; |
| 86 | /** |
| 87 | * A 2 component array defining boundary entity indexes and their neighbor partition index |
| 88 | */ |
| 89 | vtkNew<vtkIdTypeArray> BoundaryNeighborPartitions; |
| 90 | /** |
| 91 | * The total number of partitions |
| 92 | */ |
| 93 | vtkIdType NumberOfPartitions = 0; |
| 94 | }; |
| 95 | |
| 96 | /** |
| 97 | * Main method for subclasses to implement in order to define their partitioning method (should be |