45 #include "vtkParallelCoreModule.h" 59 enum {MINOP = 1, MAXOP = 2, SUMOP = 3};
72 int Gather(
int *
data,
int *to,
int length,
int root);
73 int Gather(
char *data,
char *to,
int length,
int root);
74 int Gather(
float *data,
float *to,
int length,
int root);
75 #ifdef VTK_USE_64BIT_IDS 78 int Broadcast(
float *data,
int length,
int root);
79 int Broadcast(
double *data,
int length,
int root);
80 int Broadcast(
int *data,
int length,
int root);
81 int Broadcast(
char *data,
int length,
int root);
82 #ifdef VTK_USE_64BIT_IDS 83 int Broadcast(
vtkIdType *data,
int length,
int root);
85 int ReduceSum(
int *data,
int *to,
int length,
int root);
86 int ReduceMax(
float *data,
float *to,
int length,
int root);
87 int ReduceMax(
double *data,
double *to,
int length,
int root);
88 int ReduceMax(
int *data,
int *to,
int length,
int root);
89 int ReduceMin(
float *data,
float *to,
int length,
int root);
90 int ReduceMin(
double *data,
double *to,
int length,
int root);
91 int ReduceMin(
int *data,
int *to,
int length,
int root);
93 int AllReduceUniqueList(
int *list,
int len,
int **newList);
94 int MergeSortedUnique(
int *list1,
int len1,
int *list2,
int len2,
int **newList);
96 void setGatherPattern(
int root,
int length);
97 int getLocalRank(
int processID);
101 void PrintSubGroup()
const;
103 static int MakeSortedUnique(
int *list,
int len,
int **newList);
112 int computeFanInTargets();
113 void restoreRoot(
int rootLoc);
114 void moveRoot(
int rootLoc);
115 void setUpRoot(
int root);
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
scalable collective communication for a subset of members of a parallel VTK application ...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Used to send/receive messages in a multiprocess environment.
Multiprocessing communication superclass.