VTK  9.3.20240715
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
25VTK_ABI_NAMESPACE_BEGIN
26class vtkInformation;
28class vtkIndent;
29
30class VTKCOMMONEXECUTIONMODEL_EXPORT vtkUniformGridPartitioner
32{
33public:
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
60protected:
63
64 // Standard Pipeline methods
66 int FillInputPortInformation(int port, vtkInformation* info) override;
67 int FillOutputPortInformation(int port, vtkInformation* info) override;
68
72
73private:
75 void operator=(const vtkUniformGridPartitioner&) = delete;
76};
77
78VTK_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...
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.
static vtkUniformGridPartitioner * New()
int vtkTypeBool
Definition vtkABI.h:64