VTK  9.2.6
vtkStructuredGridPartitioner.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkStructuredGridPartitioner.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  =========================================================================*/
31 #ifndef vtkStructuredGridPartitioner_h
32 #define vtkStructuredGridPartitioner_h
33 
34 #include "vtkFiltersGeometryModule.h" // For export macro
36 
37 class vtkInformation;
39 class vtkIndent;
40 class vtkStructuredGrid;
41 class vtkPoints;
42 
43 class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridPartitioner : public vtkMultiBlockDataSetAlgorithm
44 {
45 public:
48  void PrintSelf(ostream& oss, vtkIndent indent) override;
49 
51 
54  vtkGetMacro(NumberOfPartitions, int);
55  vtkSetMacro(NumberOfPartitions, int);
57 
59 
62  vtkGetMacro(NumberOfGhostLayers, int);
63  vtkSetMacro(NumberOfGhostLayers, int);
65 
67 
70  vtkGetMacro(DuplicateNodes, vtkTypeBool);
71  vtkSetMacro(DuplicateNodes, vtkTypeBool);
72  vtkBooleanMacro(DuplicateNodes, vtkTypeBool);
74 
75 protected:
77  ~vtkStructuredGridPartitioner() override;
78 
82  vtkPoints* ExtractSubGridPoints(vtkStructuredGrid* wholeGrid, int subext[6]);
83 
84  // Standard Pipeline methods
88 
92 
93 private:
95  void operator=(const vtkStructuredGridPartitioner&) = delete;
96 };
97 
98 #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:69
a simple class to control print indentation
Definition: vtkIndent.h:39
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:39