VTK  9.0.20210301
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 "vtkFiltersParallelGeometryModule.h" // For export macro
32 
35 
36 class VTKFILTERSPARALLELGEOMETRY_EXPORT vtkPDataSetGhostGenerator : public vtkDataSetGhostGenerator
37 {
38 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
47  vtkSetMacro(Controller, vtkMultiProcessController*);
48  vtkGetMacro(Controller, vtkMultiProcessController*);
50 
54  void Initialize();
55 
59  void Barrier();
60 
61 protected:
64 
68  virtual void GenerateGhostLayers(
69  vtkMultiBlockDataSet* in, vtkMultiBlockDataSet* out) override = 0;
70 
71  int Rank;
74 
75 private:
77  void operator=(const vtkPDataSetGhostGenerator&) = delete;
78 };
79 
80 #endif /* vtkPDataSetGhostGenerator_h */
vtkPDataSetGhostGenerator::~vtkPDataSetGhostGenerator
~vtkPDataSetGhostGenerator() override
vtkPDataSetGhostGenerator
An abstract class that provides common functionality and implements an interface for all parallel gho...
Definition: vtkPDataSetGhostGenerator.h:37
vtkPDataSetGhostGenerator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition: vtkMultiBlockDataSet.h:46
vtkPDataSetGhostGenerator::Initialized
bool Initialized
Definition: vtkPDataSetGhostGenerator.h:72
vtkPDataSetGhostGenerator::GenerateGhostLayers
virtual void GenerateGhostLayers(vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out) override=0
Creates ghost layers.
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:77
vtkPDataSetGhostGenerator::Barrier
void Barrier()
Barrier synchronization.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkPDataSetGhostGenerator::Rank
int Rank
Definition: vtkPDataSetGhostGenerator.h:71
vtkPDataSetGhostGenerator::vtkPDataSetGhostGenerator
vtkPDataSetGhostGenerator()
vtkPDataSetGhostGenerator::Initialize
void Initialize()
Initializes.
vtkPDataSetGhostGenerator::Controller
vtkMultiProcessController * Controller
Definition: vtkPDataSetGhostGenerator.h:73
vtkDataSetGhostGenerator.h
vtkDataSetGhostGenerator
An abstract class that provides common functionality and implements an interface for all ghost data g...
Definition: vtkDataSetGhostGenerator.h:43