VTK
9.5.20251209
Common
ExecutionModel
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
18
19
#ifndef vtkUniformGridPartitioner_h
20
#define vtkUniformGridPartitioner_h
21
22
#include "vtkCommonExecutionModelModule.h"
// For export macro
23
#include "
vtkMultiBlockDataSetAlgorithm.h
"
24
25
VTK_ABI_NAMESPACE_BEGIN
26
class
vtkInformation
;
27
class
vtkInformationVector
;
28
class
vtkIndent
;
29
30
class
VTKCOMMONEXECUTIONMODEL_EXPORT
vtkUniformGridPartitioner
31
:
public
vtkMultiBlockDataSetAlgorithm
32
{
33
public
:
34
static
vtkUniformGridPartitioner
*
New
();
35
vtkTypeMacro(
vtkUniformGridPartitioner
,
vtkMultiBlockDataSetAlgorithm
);
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
:
61
vtkUniformGridPartitioner
();
62
~vtkUniformGridPartitioner
()
override
;
63
64
// Standard Pipeline methods
65
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
66
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
67
int
FillOutputPortInformation
(
int
port,
vtkInformation
* info)
override
;
68
69
int
NumberOfPartitions
;
70
int
NumberOfGhostLayers
;
71
vtkTypeBool
DuplicateNodes
;
72
73
private
:
74
vtkUniformGridPartitioner
(
const
vtkUniformGridPartitioner
&) =
delete
;
75
void
operator=(
const
vtkUniformGridPartitioner
&) =
delete
;
76
};
77
78
VTK_ABI_NAMESPACE_END
79
#endif
/* VTKUNIFORMGRIDPARTITIONER_H_ */
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:142
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:173
vtkMultiBlockDataSetAlgorithm::vtkMultiBlockDataSetAlgorithm
vtkMultiBlockDataSetAlgorithm()
vtkUniformGridPartitioner::NumberOfGhostLayers
int NumberOfGhostLayers
Definition
vtkUniformGridPartitioner.h:70
vtkUniformGridPartitioner::PrintSelf
void PrintSelf(ostream &oss, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUniformGridPartitioner::NumberOfPartitions
int NumberOfPartitions
Definition
vtkUniformGridPartitioner.h:69
vtkUniformGridPartitioner::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkUniformGridPartitioner::~vtkUniformGridPartitioner
~vtkUniformGridPartitioner() override
vtkUniformGridPartitioner::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkUniformGridPartitioner::vtkUniformGridPartitioner
vtkUniformGridPartitioner()
vtkUniformGridPartitioner::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkUniformGridPartitioner::DuplicateNodes
vtkTypeBool DuplicateNodes
Definition
vtkUniformGridPartitioner.h:71
vtkUniformGridPartitioner::New
static vtkUniformGridPartitioner * New()
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkMultiBlockDataSetAlgorithm.h
Generated on Tue Dec 9 2025 12:56:08 for VTK by
1.13.2