Implementation change in vtkDIYUtilities::Link
This MR contains 2 main changes.
vtkDIYUtilities::Link
has been rewritten because the all_to_all
call can be avoided.
vtkDIYGhostUtilities
is slightly refactored. This refactoring will make it easier to add compatibility to vtkUnstructuredGrid
and vtkPolyData
. In particular:
- Ghost allocation is moved outside of the link map generation method.
- Unnecessary links are weeded out prior to exchanging structural information between blocks by looking at bounding box intersections. This will become relevant for other input data types such as vtkUnstructuredGrid.
- Missing documentation has been added.
- Functions have been renamed. The ones relevant for grids have been
renamed with
ForGrid
at the end of the name. It will provide better readability when other data set types will be added.
Edited by Yohann Bearzi (Kitware)