vtkAllToNRedistributePolyData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkAllToNRedistributePolyData.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
15 /*----------------------------------------------------------------------------
16  Copyright (c) Los Alamos National Laboratory
17  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18 ----------------------------------------------------------------------------*/
19 
25 #ifndef vtkAllToNRedistributePolyData_h
26 #define vtkAllToNRedistributePolyData_h
27 
28 #include "vtkPVVTKExtensionsFiltersRenderingModule.h" // needed for export macro
30 
32 
33 //*******************************************************************
34 
37 {
38 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
44  vtkSetMacro(NumberOfProcesses, int);
45  vtkGetMacro(NumberOfProcesses, int);
46 
47 protected:
50 
51  void MakeSchedule(vtkPolyData*, vtkCommSched*) override;
52 
54 
55 private:
57  void operator=(const vtkAllToNRedistributePolyData&) = delete;
58 };
59 
60 //****************************************************************
61 
62 #endif
static vtkWeightedRedistributePolyData * New()
Construct object.
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKPVVTKEXTENSIONSFILTERSRENDERING_EXPORT
do weighted balance of cells on processors
virtual void MakeSchedule(vtkPolyData *input, vtkCommSched *) override
do balanced redistribution of cells on from all to n processors