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;
23 
25  : public vtkGhostCellsGenerator
26 {
27 public:
28  static vtkPVGhostCellsGenerator* New();
29  vtkTypeMacro(vtkPVGhostCellsGenerator, vtkGhostCellsGenerator);
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
32 protected:
33  vtkPVGhostCellsGenerator() = default;
34  ~vtkPVGhostCellsGenerator() override = default;
35 
36  int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
37  int FillInputPortInformation(int, vtkInformation*) override;
38 
42  int GhostCellsGeneratorUsingSuperclassInstance(vtkDataObject* inputDO, vtkDataObject* outputDO);
43 
44 private:
46  void operator=(const vtkPVGhostCellsGenerator&) = delete;
47 
51  int GhostCellsGeneratorUsingHyperTreeGrid(vtkDataObject* inputDO, vtkDataObject* outputDO);
52 
56  static bool HasHTG(vtkMultiProcessController* controller, vtkDataObject* object);
57 
64  int ProcessDataObject(vtkDataObject* input, vtkDataObject* output);
65 
71  int ProcessPartitionedDataSet(vtkCompositeDataSet* input, vtkCompositeDataSet* output);
72 
78  int ProcessMultiBlockDataSet(vtkMultiBlockDataSet* input, vtkMultiBlockDataSet* output);
79 };
80 
81 #endif
#define VTKPVVTKEXTENSIONSFILTERSPARALLELDIY2_EXPORT
Ghost Cells Generator that add support for vtkHyperTreeGrid.