vtkPVGhostCellsGenerator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkPVGhostCellsGenerator_h
14 #define vtkPVGhostCellsGenerator_h
15 
16 #include "vtkGhostCellsGenerator.h"
17 #include "vtkPVVTKExtensionsFiltersParallelDIY2Module.h" // needed for exports
18 
19 class vtkDataObject;
22 
24  : public vtkGhostCellsGenerator
25 {
26 public:
27  static vtkPVGhostCellsGenerator* New();
28  vtkTypeMacro(vtkPVGhostCellsGenerator, vtkGhostCellsGenerator);
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
31 protected:
32  vtkPVGhostCellsGenerator() = default;
33  ~vtkPVGhostCellsGenerator() override = default;
34 
35  int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
36  int FillInputPortInformation(int, vtkInformation*) override;
37 
41  int GhostCellsGeneratorUsingSuperclassInstance(vtkDataObject* inputDO, vtkDataObject* outputDO);
42 
43 private:
45  void operator=(const vtkPVGhostCellsGenerator&) = delete;
46 
50  int GhostCellsGeneratorUsingHyperTreeGrid(vtkDataObject* inputDO, vtkDataObject* outputDO);
51 
55  static bool HasHTG(vtkMultiProcessController* controller, vtkDataObject* object);
56 
62  int ProcessComposite(vtkCompositeDataSet* input, vtkCompositeDataSet* output);
63 };
64 
65 #endif
#define VTKPVVTKEXTENSIONSFILTERSPARALLELDIY2_EXPORT
Ghost Cells Generator that add support for vtkHyperTreeGrid.