15 #ifndef vtkHyperTreeGridGhostCellsGeneratorInternals_h
16 #define vtkHyperTreeGridGhostCellsGeneratorInternals_h
30 #include <unordered_map>
33 VTK_ABI_NAMESPACE_BEGIN
102 std::vector<vtkIdType> indices;
116 std::vector<vtkIdType> indices;
119 typedef std::map<unsigned int, SendBuffer> SendTreeBufferMap;
120 typedef std::map<unsigned int, SendTreeBufferMap> SendProcessBufferMap;
121 typedef std::map<unsigned int, RecvBuffer> RecvTreeBufferMap;
122 typedef std::map<unsigned int, RecvTreeBufferMap> RecvProcessBufferMap;
132 typedef std::unordered_map<unsigned int, FlagType> FlagMap;
138 SendProcessBufferMap SendBuffer;
139 RecvProcessBufferMap RecvBuffer;
143 std::vector<int> HyperTreesMapToProcesses;
168 VTK_ABI_NAMESPACE_END
int ExchangeCellData()
Exchange cell data information with the other process to fill in values for ghost cells...
int ExchangeSizes()
Exchange the number of ghost cells to be sent between ranks.
vtkHyperTreeGridGhostCellsGeneratorInternals(vtkHyperTreeGridGhostCellsGenerator *self, vtkMultiProcessController *controller, vtkHyperTreeGrid *inputHTG, vtkHyperTreeGrid *outputHTG)
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
void DetermineNeighbors()
Compute the index of neighboring trees and record those that belong to other processes and should be ...
void FinalizeCellData()
ProcessTrees subroutine creating the output ghost array and adding it to the output HTG...
vtkDataArray * InternalArray
vtkDataArray * GhostCDBuffer
Generate ghost cells for distributed vtkHyperTreeGrids.
abstract superclass for arrays of numeric data
int ExchangeTreeDecomposition()
Routine to send and receive tree decomposition, and mask values if present for each tree...
Internal class for vtkHyperTreeGridGhostCellsGenerator.
void BroadcastTreeLocations()
Subroutine performing an MPI AllReduce operation, filling the vector HyperTreesMapToProcesses where H...
std::map< std::string, CellDataArray > CellDataAttributes
void InitializeCellData()
Initialize the internal cell data implicit array handler, with the cell arrays as the first entries o...
Multiprocessing communication superclass.