VTK  9.4.20241222
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
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
63 int RequestData(vtkInformation* vtkNotUsed(request), vtkInformationVector** inputVector,
64 vtkInformationVector* outputVector) override;
65
71
77 "This method is now defined in an internal class, and cannot be overridden anymore.")
78 void CopyInputTreeToOutput(vtkHyperTreeGridNonOrientedCursor* inCursor,
79 vtkHyperTreeGridNonOrientedCursor* outCursor, vtkCellData* inCellData, vtkCellData* outCellData,
80 vtkBitArray* inMask, vtkBitArray* outMask);
81
87 "This method is now defined in an internal class, and cannot be overridden anymore.")
88 void ExtractInterface(vtkHyperTreeGridNonOrientedCursor* inCursor, vtkBitArray* isParent,
89 std::vector<vtkIdType>& indices, vtkHyperTreeGrid* grid, unsigned int mask, vtkIdType& pos);
90
96 "This method is now defined in an internal class, and cannot be overridden anymore.")
97 vtkIdType CreateGhostTree(vtkHyperTreeGridNonOrientedCursor* outCursor, vtkBitArray* isParent,
98 vtkIdType* indices, vtkIdType&& pos = 0);
99
100private:
102 void operator=(const vtkHyperTreeGridGhostCellsGenerator&) = delete;
103};
104
105VTK_ABI_NAMESPACE_END
106#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.
Generated ghost cells (HyperTree's distributed).
~vtkHyperTreeGridGhostCellsGenerator() override=default
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...
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.
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
#define VTK_DEPRECATED_IN_9_4_0(reason)
int vtkIdType
Definition vtkType.h:315