VTK  9.4.20250130
vtkStructuredGridPartitioner.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
19#ifndef vtkStructuredGridPartitioner_h
20#define vtkStructuredGridPartitioner_h
21
22#include "vtkFiltersGeometryModule.h" // For export macro
24
25VTK_ABI_NAMESPACE_BEGIN
26class vtkInformation;
28class vtkIndent;
30class vtkPoints;
31
32class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridPartitioner : public vtkMultiBlockDataSetAlgorithm
33{
34public:
37 void PrintSelf(ostream& oss, vtkIndent indent) override;
38
40
43 vtkGetMacro(NumberOfPartitions, int);
44 vtkSetMacro(NumberOfPartitions, int);
46
48
51 vtkGetMacro(NumberOfGhostLayers, int);
52 vtkSetMacro(NumberOfGhostLayers, int);
54
56
59 vtkGetMacro(DuplicateNodes, vtkTypeBool);
60 vtkSetMacro(DuplicateNodes, vtkTypeBool);
61 vtkBooleanMacro(DuplicateNodes, vtkTypeBool);
63
64protected:
67
72
73 // Standard Pipeline methods
75 int FillInputPortInformation(int port, vtkInformation* info) override;
76 int FillOutputPortInformation(int port, vtkInformation* info) override;
77
81
82private:
84 void operator=(const vtkStructuredGridPartitioner&) = delete;
85};
86
87VTK_ABI_NAMESPACE_END
88#endif /* vtkStructuredGridPartitioner_h */
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
represent and manipulate 3D points
Definition vtkPoints.h:139
A concrete implementation of vtkMultiBlockDataSetAlgorithm that provides functionality for partitioni...
void PrintSelf(ostream &oss, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkPoints * ExtractSubGridPoints(vtkStructuredGrid *wholeGrid, int subext[6])
Extracts the coordinates of the sub-grid from the whole grid.
~vtkStructuredGridPartitioner() override
static vtkStructuredGridPartitioner * New()
topologically regular array of data
int vtkTypeBool
Definition vtkABI.h:64