vtkWeightedRedistributePolyData.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Los Alamos National Laboratory
3 // SPDX-License-Identifier: BSD-3-Clause
9 #ifndef vtkWeightedRedistributePolyData_h
10 #define vtkWeightedRedistributePolyData_h
11 
12 #include "vtkPVVTKExtensionsFiltersRenderingModule.h" // needed for export macro
14 
16 
17 //*******************************************************************
18 
21 {
22 public:
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
30 
31  void SetWeights(int, int, float);
32 
33 protected:
36 
37  enum
38  {
39  NUM_LOC_CELLS_TAG = 70,
40 
41  SCHED_LEN_1_TAG = 300,
42  SCHED_LEN_2_TAG = 301,
43  SCHED_1_TAG = 310,
44  SCHED_2_TAG = 311
45  };
46 
47  void MakeSchedule(vtkPolyData* input, vtkCommSched*) override;
48  float* Weights;
49 
50 private:
52  void operator=(const vtkWeightedRedistributePolyData&) = delete;
53 };
54 
55 //****************************************************************
56 
57 #endif
redistribute poly cells from other processes (special version to color according to processor) ...
#define VTKPVVTKEXTENSIONSFILTERSRENDERING_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void MakeSchedule(vtkPolyData *input, vtkCommSched *)
do weighted balance of cells on processors
static vtkRedistributePolyData * New()