VTK  9.4.20250509
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
30#ifndef vtkHyperTreeGridGhostCellsGenerator_h
31#define vtkHyperTreeGridGhostCellsGenerator_h
32
33#include "vtkFiltersParallelModule.h" // For export macro
35#include "vtkWeakPointer.h" // for vtkWeakPointer
36
37#include <vector> // For vtkHypertreeGridGhostCellsGenerator::ExtractInterface
38
39VTK_ABI_NAMESPACE_BEGIN
40class vtkBitArray;
41class vtkCellData;
46
47class VTKFILTERSPARALLEL_EXPORT vtkHyperTreeGridGhostCellsGenerator
49{
50public:
53 void PrintSelf(ostream& os, vtkIndent indent) override;
54
56
63
64protected:
67
68 struct vtkInternals;
69
74
79 int RequestData(vtkInformation* vtkNotUsed(request), vtkInformationVector** inputVector,
80 vtkInformationVector* outputVector) override;
81
87
93 "This method is now defined in an internal class, and cannot be overridden anymore.")
94 void CopyInputTreeToOutput(vtkHyperTreeGridNonOrientedCursor* inCursor,
95 vtkHyperTreeGridNonOrientedCursor* outCursor, vtkCellData* inCellData, vtkCellData* outCellData,
96 vtkBitArray* inMask, vtkBitArray* outMask);
97
103 "This method is now defined in an internal class, and cannot be overridden anymore.")
104 void ExtractInterface(vtkHyperTreeGridNonOrientedCursor* inCursor, vtkBitArray* isParent,
105 std::vector<vtkIdType>& indices, vtkHyperTreeGrid* grid, unsigned int mask, vtkIdType& pos);
106
112 "This method is now defined in an internal class, and cannot be overridden anymore.")
113 vtkIdType CreateGhostTree(vtkHyperTreeGridNonOrientedCursor* outCursor, vtkBitArray* isParent,
114 vtkIdType* indices, vtkIdType&& pos = 0);
115
116private:
118 void operator=(const vtkHyperTreeGridGhostCellsGenerator&) = delete;
119
121};
122
123VTK_ABI_NAMESPACE_END
124#endif /* vtkHyperTreeGridGhostCellsGenerator */
dynamic, self-adjusting array of bits
Definition vtkBitArray.h:29
represent and manipulate cell attribute data
general representation of visualization data
Superclass for algorithms that produce a hyper tree grid as output.
Generate ghost cells for distributed vtkHyperTreeGrids.
int RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Override RequestData, to make sure every HTG piece can be processed, hence avoiding that one rank wai...
virtual void SetController(vtkMultiProcessController *)
Get/Set the controller to use.
vtkMultiProcessController * GetController()
Get/Set the controller to use.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int, vtkInformation *) override
Input must be either HTG or vtkPartitionnedDataSet composed of HTG partitions.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to generate ghost cells using information from the neighboring HTGs.
static vtkHyperTreeGridGhostCellsGenerator * New()
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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
dynamic, self-adjusting array of unsigned char
a weak reference to a vtkObject.
#define VTK_DEPRECATED_IN_9_4_0(reason)
int vtkIdType
Definition vtkType.h:332