VTK
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 
43 #ifndef vtkPUnstructuredGridGhostCellsGenerator_h
44 #define vtkPUnstructuredGridGhostCellsGenerator_h
45 
46 #include "vtkFiltersParallelGeometryModule.h" // For export macro
48 
51 
54 {
56 
57 public:
58  void PrintSelf(ostream& os, vtkIndent indent);
59 
61 
63 
64  void SetController(vtkMultiProcessController *c);
65  vtkGetObjectMacro(Controller, vtkMultiProcessController);
67 
69 
71  vtkSetMacro(UseGlobalPointIds, bool);
72  vtkGetMacro(UseGlobalPointIds, bool);
73  vtkBooleanMacro(UseGlobalPointIds, bool);
75 
77 
79  vtkSetStringMacro(GlobalPointIdsArrayName);
80  vtkGetStringMacro(GlobalPointIdsArrayName);
82 
83 protected:
86 
89 
90  void ExtractAndReduceSurfacePoints();
91 
92  void ComputeSharedPoints();
93 
94  void ExtractAndSendGhostCells();
95 
96  void ReceiveAndMergeGhostCells(vtkUnstructuredGrid*);
97 
99 
100  int NumRanks;
101  int RankId;
104 
105 private:
106  struct vtkInternals;
107  vtkInternals* Internals;
108 
110  void operator=(const vtkPUnstructuredGridGhostCellsGenerator&); // Not implemented
111 };
112 
113 #endif
Builds ghost cells for a distributed unstructured grid dataset.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store vtkAlgorithm input/output information.
static vtkUnstructuredGridAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:38
dataset represents arbitrary combinations of all possible cell types
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only unstructured grid as output.
#define VTKFILTERSPARALLELGEOMETRY_EXPORT
Store zero or more vtkInformation instances.
Multiprocessing communication superclass.