VTK  9.3.20240226
vtkUniformGridPartitioner.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 vtkUniformGridPartitioner_h
20 #define vtkUniformGridPartitioner_h
21 
22 #include "vtkCommonExecutionModelModule.h" // For export macro
24 
25 VTK_ABI_NAMESPACE_BEGIN
26 class vtkInformation;
28 class vtkIndent;
29 
30 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkUniformGridPartitioner
32 {
33 public:
36  void PrintSelf(ostream& oss, vtkIndent indent) override;
37 
39 
42  vtkGetMacro(NumberOfPartitions, int);
43  vtkSetMacro(NumberOfPartitions, int);
45 
47 
50  vtkGetMacro(NumberOfGhostLayers, int);
51  vtkSetMacro(NumberOfGhostLayers, int);
53 
55  vtkGetMacro(DuplicateNodes, vtkTypeBool);
56  vtkSetMacro(DuplicateNodes, vtkTypeBool);
57  vtkBooleanMacro(DuplicateNodes, vtkTypeBool);
59 
60 protected:
63 
64  // Standard Pipeline methods
68 
72 
73 private:
75  void operator=(const vtkUniformGridPartitioner&) = delete;
76 };
77 
78 VTK_ABI_NAMESPACE_END
79 #endif /* VTKUNIFORMGRIDPARTITIONER_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.
A concrete implementation of vtkMultiBlockDataSetAlgorithm that provides functionality for partitioni...
static vtkUniformGridPartitioner * New()
void PrintSelf(ostream &oss, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
~vtkUniformGridPartitioner() override
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.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkTypeBool
Definition: vtkABI.h:64