VTK
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 
30 #include "vtkFiltersParallelGeometryModule.h" // For export macro
32 
35 
36 class VTKFILTERSPARALLELGEOMETRY_EXPORT vtkPDataSetGhostGenerator :
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
48  vtkSetMacro(Controller, vtkMultiProcessController*);
49  vtkGetMacro(Controller, vtkMultiProcessController*);
51 
55  void Initialize();
56 
60  void Barrier();
61 
62 protected:
64  ~vtkPDataSetGhostGenerator() override;
65 
69  virtual void GenerateGhostLayers(
70  vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out) override = 0;
71 
72  int Rank;
75 
76 private:
78  void operator=(const vtkPDataSetGhostGenerator&) = delete;
79 };
80 
81 #endif /* vtkPDataSetGhostGenerator_h */
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.
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.