VTK  9.4.20251007
vtkHyperTreeGridGhostCellsGenerator.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
23
24#ifndef vtkHyperTreeGridGhostCellsGenerator_h
25#define vtkHyperTreeGridGhostCellsGenerator_h
26
27#include "vtkFiltersParallelModule.h" // For export macro
29
30#include <vector> // For vtkHypertreeGridGhostCellsGenerator::ExtractInterface
31
32VTK_ABI_NAMESPACE_BEGIN
33class vtkBitArray;
34class vtkCellData;
39
40class VTKFILTERSPARALLEL_EXPORT vtkHyperTreeGridGhostCellsGenerator
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
48protected:
51
52 struct vtkInternals;
53
58
64
70 "This method is now defined in an internal class, and cannot be overridden anymore.")
72 vtkHyperTreeGridNonOrientedCursor* outCursor, vtkCellData* inCellData, vtkCellData* outCellData,
73 vtkBitArray* inMask, vtkBitArray* outMask);
74
80 "This method is now defined in an internal class, and cannot be overridden anymore.")
82 std::vector<vtkIdType>& indices, vtkHyperTreeGrid* grid, unsigned int mask, vtkIdType& pos);
83
89 "This method is now defined in an internal class, and cannot be overridden anymore.")
91 vtkIdType* indices, vtkIdType&& pos = 0);
92
93private:
95 void operator=(const vtkHyperTreeGridGhostCellsGenerator&) = delete;
96};
97
98VTK_ABI_NAMESPACE_END
99#endif /* vtkHyperTreeGridGhostCellsGenerator */
dynamic, self-adjusting array of bits
Definition vtkBitArray.h:29
represent and manipulate cell attribute data
Definition vtkCellData.h:32
general representation of visualization data
~vtkHyperTreeGridGhostCellsGenerator() override=default
int FillOutputPortInformation(int, vtkInformation *) override
For this algorithm the output is a vtkHyperTreeGrid instance.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ExtractInterface(vtkHyperTreeGridNonOrientedCursor *inCursor, vtkBitArray *isParent, std::vector< vtkIdType > &indices, vtkHyperTreeGrid *grid, unsigned int mask, vtkIdType &pos)
Reads the input interface with neighbor processes.
vtkIdType CreateGhostTree(vtkHyperTreeGridNonOrientedCursor *outCursor, vtkBitArray *isParent, vtkIdType *indices, vtkIdType &&pos=0)
Creates a ghost tree in the output.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to generate ghost cells using information from the neighboring HTGs.
static vtkHyperTreeGridGhostCellsGenerator * New()
void CopyInputTreeToOutput(vtkHyperTreeGridNonOrientedCursor *inCursor, vtkHyperTreeGridNonOrientedCursor *outCursor, vtkCellData *inCellData, vtkCellData *outCellData, vtkBitArray *inMask, vtkBitArray *outMask)
Recursively copy the input tree (cell data and mask information) pointed by the cursor to the output.
Objects for traversal a HyperTreeGrid.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
Definition vtkIndent.h:29
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
dynamic, self-adjusting array of unsigned char
#define VTK_DEPRECATED_IN_9_4_0(reason)
int vtkIdType
Definition vtkType.h:315