VTK  9.2.6
vtkPDataSetGhostGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPDataSetGhostGenerator.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 #ifndef vtkPDataSetGhostGenerator_h
28 #define vtkPDataSetGhostGenerator_h
29 
31 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0
32 #include "vtkFiltersParallelGeometryModule.h" // For export macro
33 
36 
38  "Use vtkGhostCellsGenerator instead") VTKFILTERSPARALLELGEOMETRY_EXPORT vtkPDataSetGhostGenerator
40 {
41 public:
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
50  void SetController(vtkMultiProcessController*);
51  vtkGetObjectMacro(Controller, vtkMultiProcessController);
53 
57  void Initialize();
58 
62  void Barrier();
63 
64 protected:
66  ~vtkPDataSetGhostGenerator() override;
67 
71  virtual void GenerateGhostLayers(
72  vtkMultiBlockDataSet* in, vtkMultiBlockDataSet* out) override = 0;
73 
74  int Rank;
77 
78 private:
80  void operator=(const vtkPDataSetGhostGenerator&) = delete;
81 };
82 
83 #endif /* vtkPDataSetGhostGenerator_h */
84 
85 // VTK-HeaderTest-Exclude: vtkPDataSetGhostGenerator.h
#define VTK_DEPRECATED_IN_9_1_0(reason)
virtual void GenerateGhostLayers(vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out)=0
Generate ghost layers.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Computes ghost cells on vtkCompositeDataSet inputs.
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkMultiProcessController * Controller
An abstract class that provides common functionality and implements an interface for all parallel gho...
Composite dataset that organizes datasets into blocks.
An abstract class that provides common functionality and implements an interface for all ghost data g...
Multiprocessing communication superclass.