VTK  9.1.0
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 "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0
82 #include "vtkFiltersParallelGeometryModule.h" // For export macro
84 #include <vector> // For passing data between methods
85 
87 
89  VTKFILTERSPARALLELGEOMETRY_EXPORT vtkPUnstructuredGridGhostCellsGenerator
91 {
93 
94 public:
95  void PrintSelf(ostream& os, vtkIndent indent) override;
96 
98 
100 
104  vtkGetObjectMacro(Controller, vtkMultiProcessController);
106 
107 protected:
110 
112 
114 
115  void ExchangeBoundsAndDetermineNeighbors(std::vector<double>&);
116  void ExtractAndReduceSurfacePointsShareData(std::vector<double>&);
118 
120 
122 
123  void AddGhostLayer(int ghostLevel, int maxGhostLevel);
124 
126 
128 
130 
132 
133 private:
134  struct vtkInternals;
135  vtkInternals* Internals;
136 
138  void operator=(const vtkPUnstructuredGridGhostCellsGenerator&) = delete;
139 };
140 
141 #endif
142 
143 // VTK-HeaderTest-Exclude: vtkPUnstructuredGridGhostCellsGenerator.h
vtkPUnstructuredGridGhostCellsGenerator::RemoveGlobalCellIds
void RemoveGlobalCellIds()
vtkUnstructuredGridGhostCellsGenerator
Builds ghost cells for a distributed unstructured grid dataset.
Definition: vtkUnstructuredGridGhostCellsGenerator.h:44
vtkPUnstructuredGridGhostCellsGenerator::ComputeSharedPoints
void ComputeSharedPoints()
vtkPUnstructuredGridGhostCellsGenerator
Builds ghost cells for a distributed unstructured grid dataset.
Definition: vtkPUnstructuredGridGhostCellsGenerator.h:91
vtkPUnstructuredGridGhostCellsGenerator::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkPUnstructuredGridGhostCellsGenerator::~vtkPUnstructuredGridGhostCellsGenerator
~vtkPUnstructuredGridGhostCellsGenerator() override
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkPUnstructuredGridGhostCellsGenerator::ExtractAndSendGhostCells
void ExtractAndSendGhostCells(vtkUnstructuredGridBase *)
vtkUnstructuredGridBase
dataset represents arbitrary combinations of all possible cell types.
Definition: vtkUnstructuredGridBase.h:35
vtkPUnstructuredGridGhostCellsGenerator::vtkPUnstructuredGridGhostCellsGenerator
vtkPUnstructuredGridGhostCellsGenerator()
VTK_DEPRECATED_IN_9_1_0
#define VTK_DEPRECATED_IN_9_1_0(reason)
Definition: vtkDeprecation.h:117
vtkPUnstructuredGridGhostCellsGenerator::ReceiveAndMergeGhostCells
void ReceiveAndMergeGhostCells(int, int, vtkUnstructuredGridBase *, vtkUnstructuredGrid *)
vtkPUnstructuredGridGhostCellsGenerator::ExchangeBoundsAndDetermineNeighbors
void ExchangeBoundsAndDetermineNeighbors(std::vector< double > &)
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:77
vtkPUnstructuredGridGhostCellsGenerator::FindGhostCells
void FindGhostCells()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkUnstructuredGridGhostCellsGenerator.h
vtkPUnstructuredGridGhostCellsGenerator::SetController
void SetController(vtkMultiProcessController *c)
Set/Get the MPI multi process controller object.
vtkPUnstructuredGridGhostCellsGenerator::AddGhostLayer
void AddGhostLayer(int ghostLevel, int maxGhostLevel)
vtkPUnstructuredGridGhostCellsGenerator::AddGlobalCellIds
void AddGlobalCellIds()
vtkPUnstructuredGridGhostCellsGenerator::New
static vtkPUnstructuredGridGhostCellsGenerator * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkPUnstructuredGridGhostCellsGenerator::GetFirstGhostLayer
void GetFirstGhostLayer(int, vtkUnstructuredGrid *)
vtkDeprecation.h
vtkPUnstructuredGridGhostCellsGenerator::Controller
vtkMultiProcessController * Controller
Definition: vtkPUnstructuredGridGhostCellsGenerator.h:131
vtkPUnstructuredGridGhostCellsGenerator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:204
vtkPUnstructuredGridGhostCellsGenerator::ExtractAndReduceSurfacePointsShareData
void ExtractAndReduceSurfacePointsShareData(std::vector< double > &)
vtkGhostCellsGenerator
Computes ghost cells on vtkCompositeDataSet inputs.
Definition: vtkGhostCellsGenerator.h:60