41 #ifndef __vtkSubGroup_h
42 #define __vtkSubGroup_h
58 enum {MINOP = 1, MAXOP = 2, SUMOP = 3};
68 int Gather(
int *
data,
int *to,
int length,
int root);
69 int Gather(
char *
data,
char *to,
int length,
int root);
70 int Gather(
float *
data,
float *to,
int length,
int root);
71 #ifdef VTK_USE_64BIT_IDS
74 int Broadcast(
float *
data,
int length,
int root);
75 int Broadcast(
double *
data,
int length,
int root);
76 int Broadcast(
int *
data,
int length,
int root);
77 int Broadcast(
char *
data,
int length,
int root);
78 #ifdef VTK_USE_64BIT_IDS
81 int ReduceSum(
int *
data,
int *to,
int length,
int root);
82 int ReduceMax(
float *
data,
float *to,
int length,
int root);
83 int ReduceMax(
double *
data,
double *to,
int length,
int root);
84 int ReduceMax(
int *
data,
int *to,
int length,
int root);
85 int ReduceMin(
float *
data,
float *to,
int length,
int root);
86 int ReduceMin(
double *
data,
double *to,
int length,
int root);
87 int ReduceMin(
int *
data,
int *to,
int length,
int root);
89 int AllReduceUniqueList(
int *list,
int len,
int **newList);
90 int MergeSortedUnique(
int *list1,
int len1,
int *list2,
int len2,
int **newList);
92 void setGatherPattern(
int root,
int length);
93 int getLocalRank(
int processID);
97 void PrintSubGroup()
const;
99 static int MakeSortedUnique(
int *list,
int len,
int **newList);
108 int computeFanInTargets();
109 void restoreRoot(
int rootLoc);
110 void moveRoot(
int rootLoc);
111 void setUpRoot(
int root);
abstract base class for most VTK objects
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
scalable collective communication for a subset of members of a parallel VTK application ...
Used to send/receive messages in a multiprocess environment.
Multiprocessing communication superclass.