VTK  9.3.1
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 
25 VTK_ABI_NAMESPACE_BEGIN
26 class vtkInformation;
28 class vtkIndent;
29 class vtkStructuredGrid;
30 class vtkPoints;
31 
32 class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridPartitioner : public vtkMultiBlockDataSetAlgorithm
33 {
34 public:
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 
64 protected:
66  ~vtkStructuredGridPartitioner() override;
67 
71  vtkPoints* ExtractSubGridPoints(vtkStructuredGrid* wholeGrid, int subext[6]);
72 
73  // Standard Pipeline methods
77 
81 
82 private:
84  void operator=(const vtkStructuredGridPartitioner&) = delete;
85 };
86 
87 VTK_ABI_NAMESPACE_END
88 #endif /* vtkStructuredGridPartitioner_h */
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
static vtkMultiBlockDataSetAlgorithm * New()
A concrete implementation of vtkMultiBlockDataSetAlgorithm that provides functionality for partitioni...
int vtkTypeBool
Definition: vtkABI.h:64
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
topologically regular array of data
Store zero or more vtkInformation instances.
represent and manipulate 3D points
Definition: vtkPoints.h:28