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 
19 class VTKPVVTKEXTENSIONSFILTERSRENDERING_EXPORT vtkWeightedRedistributePolyData
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
vtkWeightedRedistributePolyData::Weights
float * Weights
Definition: vtkWeightedRedistributePolyData.h:48
vtkRedistributePolyData::MakeSchedule
virtual void MakeSchedule(vtkPolyData *input, vtkCommSched *)
vtkRedistributePolyData
redistribute poly cells from other processes (special version to color according to processor)
Definition: vtkRedistributePolyData.h:22
vtkWeightedRedistributePolyData
do weighted balance of cells on processors
Definition: vtkWeightedRedistributePolyData.h:19
vtkMultiProcessController
vtkIndent
vtkRedistributePolyData::New
static vtkRedistributePolyData * New()
vtkRedistributePolyData::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPolyData
vtkRedistributePolyData.h