VTK  9.1.0
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{
41public:
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
46
50 vtkSetMacro(Controller, vtkMultiProcessController*);
51 vtkGetMacro(Controller, vtkMultiProcessController*);
53
57 void Initialize();
58
62 void Barrier();
63
64protected:
67
71 virtual void GenerateGhostLayers(
72 vtkMultiBlockDataSet* in, vtkMultiBlockDataSet* out) override = 0;
73
74 int Rank;
77
78private:
80 void operator=(const vtkPDataSetGhostGenerator&) = delete;
81};
82
83#endif /* vtkPDataSetGhostGenerator_h */
84
85// VTK-HeaderTest-Exclude: vtkPDataSetGhostGenerator.h
An abstract class that provides common functionality and implements an interface for all ghost data g...
a simple class to control print indentation
Definition: vtkIndent.h:113
Composite dataset that organizes datasets into blocks.
Multiprocessing communication superclass.
An abstract class that provides common functionality and implements an interface for all parallel gho...
void Initialize()
Initializes.
~vtkPDataSetGhostGenerator() override
vtkMultiProcessController * Controller
virtual void GenerateGhostLayers(vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out) override=0
Creates ghost layers.
void Barrier()
Barrier synchronization.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_DEPRECATED_IN_9_1_0(reason)