VTK  9.0.3
vtkPUnstructuredGridGhostCellsGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPUnstructuredGridGhostCellsGenerator.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 =========================================================================*/
15 
78 #ifndef vtkPUnstructuredGridGhostCellsGenerator_h
79 #define vtkPUnstructuredGridGhostCellsGenerator_h
80 
81 #include "vtkFiltersParallelGeometryModule.h" // For export macro
83 #include <vector> // For passing data between methods
84 
86 
87 class VTKFILTERSPARALLELGEOMETRY_EXPORT vtkPUnstructuredGridGhostCellsGenerator
89 {
91 
92 public:
93  void PrintSelf(ostream& os, vtkIndent indent) override;
94 
96 
98 
102  vtkGetObjectMacro(Controller, vtkMultiProcessController);
104 
105 protected:
108 
110 
112 
113  void ExchangeBoundsAndDetermineNeighbors(std::vector<double>&);
114  void ExtractAndReduceSurfacePointsShareData(std::vector<double>&);
116 
118 
120 
121  void AddGhostLayer(int ghostLevel, int maxGhostLevel);
122 
124 
126 
128 
130 
131 private:
132  struct vtkInternals;
133  vtkInternals* Internals;
134 
136  void operator=(const vtkPUnstructuredGridGhostCellsGenerator&) = delete;
137 };
138 
139 #endif
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
Builds ghost cells for a distributed unstructured grid dataset.
void ExtractAndSendGhostCells(vtkUnstructuredGridBase *)
void SetController(vtkMultiProcessController *c)
Set/Get the MPI multi process controller object.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPUnstructuredGridGhostCellsGenerator * New()
void AddGhostLayer(int ghostLevel, int maxGhostLevel)
void GetFirstGhostLayer(int, vtkUnstructuredGrid *)
void ExchangeBoundsAndDetermineNeighbors(std::vector< double > &)
void ReceiveAndMergeGhostCells(int, int, vtkUnstructuredGridBase *, vtkUnstructuredGrid *)
void ExtractAndReduceSurfacePointsShareData(std::vector< double > &)
dataset represents arbitrary combinations of all possible cell types.
Builds ghost cells for a distributed unstructured grid dataset.
dataset represents arbitrary combinations of all possible cell types