VTK
9.2.6
Common
ExecutionModel
vtkUniformGridPartitioner.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkUniformGridPartitioner.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
27
28
#ifndef vtkUniformGridPartitioner_h
29
#define vtkUniformGridPartitioner_h
30
31
#include "vtkCommonExecutionModelModule.h"
// For export macro
32
#include "
vtkMultiBlockDataSetAlgorithm.h
"
33
34
class
vtkInformation
;
35
class
vtkInformationVector
;
36
class
vtkIndent
;
37
38
class
VTKCOMMONEXECUTIONMODEL_EXPORT
vtkUniformGridPartitioner
39
:
public
vtkMultiBlockDataSetAlgorithm
40
{
41
public
:
42
static
vtkUniformGridPartitioner
*
New
();
43
vtkTypeMacro(
vtkUniformGridPartitioner
,
vtkMultiBlockDataSetAlgorithm
);
44
void
PrintSelf
(ostream& oss,
vtkIndent
indent)
override
;
45
47
50
vtkGetMacro(
NumberOfPartitions
,
int
);
51
vtkSetMacro(
NumberOfPartitions
,
int
);
53
55
58
vtkGetMacro(
NumberOfGhostLayers
,
int
);
59
vtkSetMacro(
NumberOfGhostLayers
,
int
);
61
63
vtkGetMacro(
DuplicateNodes
,
vtkTypeBool
);
64
vtkSetMacro(
DuplicateNodes
,
vtkTypeBool
);
65
vtkBooleanMacro(
DuplicateNodes
,
vtkTypeBool
);
67
68
protected
:
69
vtkUniformGridPartitioner
();
70
~vtkUniformGridPartitioner
()
override
;
71
72
// Standard Pipeline methods
73
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
74
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
75
int
FillOutputPortInformation
(
int
port,
vtkInformation
* info)
override
;
76
77
int
NumberOfPartitions
;
78
int
NumberOfGhostLayers
;
79
vtkTypeBool
DuplicateNodes
;
80
81
private
:
82
vtkUniformGridPartitioner
(
const
vtkUniformGridPartitioner
&) =
delete
;
83
void
operator=(
const
vtkUniformGridPartitioner
&) =
delete
;
84
};
85
86
#endif
/* VTKUNIFORMGRIDPARTITIONER_H_ */
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:34
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:36
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:68
vtkMultiBlockDataSetAlgorithm::vtkMultiBlockDataSetAlgorithm
vtkMultiBlockDataSetAlgorithm()
vtkUniformGridPartitioner::NumberOfGhostLayers
int NumberOfGhostLayers
Definition
vtkUniformGridPartitioner.h:78
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:77
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:79
vtkUniformGridPartitioner::New
static vtkUniformGridPartitioner * New()
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkMultiBlockDataSetAlgorithm.h
Generated on Sun Mar 2 2025 00:00:00 for VTK by
1.13.2