35 #ifndef vtkCommunicator_h
36 #define vtkCommunicator_h
39 #include "vtkParallelCoreModule.h"
66 virtual void SetNumberOfProcesses(
int num);
67 vtkGetMacro(NumberOfProcesses,
int);
74 vtkGetMacro(LocalProcessId,
int);
119 virtual void Function(
const void* A,
void* B,
vtkIdType length,
int datatype) = 0;
125 virtual int Commutative() = 0;
150 virtual int SendVoidArray(
159 return this->SendVoidArray(data, length,
VTK_INT, remoteHandle, tag);
163 return this->SendVoidArray(data, length,
VTK_INT, remoteHandle, tag);
167 return this->SendVoidArray(data, length,
VTK_SHORT, remoteHandle, tag);
175 return this->SendVoidArray(data, length,
VTK_LONG, remoteHandle, tag);
187 return this->SendVoidArray(data, length,
VTK_CHAR, remoteHandle, tag);
191 return this->SendVoidArray(data, length,
VTK_SIGNED_CHAR, remoteHandle, tag);
195 return this->SendVoidArray(data, length,
VTK_FLOAT, remoteHandle, tag);
199 return this->SendVoidArray(data, length,
VTK_DOUBLE, remoteHandle, tag);
203 return this->SendVoidArray(data, length,
VTK_LONG_LONG, remoteHandle, tag);
241 virtual int ReceiveVoidArray(
250 return this->ReceiveVoidArray(data, maxlength,
VTK_INT, remoteHandle, tag);
254 return this->ReceiveVoidArray(data, maxlength,
VTK_INT, remoteHandle, tag);
258 return this->ReceiveVoidArray(data, maxlength,
VTK_SHORT, remoteHandle, tag);
262 return this->ReceiveVoidArray(data, maxlength,
VTK_UNSIGNED_SHORT, remoteHandle, tag);
266 return this->ReceiveVoidArray(data, maxlength,
VTK_LONG, remoteHandle, tag);
270 return this->ReceiveVoidArray(data, maxlength,
VTK_UNSIGNED_LONG, remoteHandle, tag);
274 return this->ReceiveVoidArray(data, maxlength,
VTK_UNSIGNED_CHAR, remoteHandle, tag);
278 return this->ReceiveVoidArray(data, maxlength,
VTK_CHAR, remoteHandle, tag);
282 return this->ReceiveVoidArray(data, maxlength,
VTK_SIGNED_CHAR, remoteHandle, tag);
286 return this->ReceiveVoidArray(data, maxlength,
VTK_FLOAT, remoteHandle, tag);
290 return this->ReceiveVoidArray(data, maxlength,
VTK_DOUBLE, remoteHandle, tag);
294 return this->ReceiveVoidArray(data, maxlength,
VTK_LONG_LONG, remoteHandle, tag);
322 virtual void Barrier();
332 return this->BroadcastVoidArray(data, length,
VTK_INT, srcProcessId);
336 return this->BroadcastVoidArray(data, length,
VTK_UNSIGNED_INT, srcProcessId);
340 return this->BroadcastVoidArray(data, length,
VTK_SHORT, srcProcessId);
348 return this->BroadcastVoidArray(data, length,
VTK_LONG, srcProcessId);
360 return this->BroadcastVoidArray(data, length,
VTK_CHAR, srcProcessId);
364 return this->BroadcastVoidArray(data, length,
VTK_SIGNED_CHAR, srcProcessId);
368 return this->BroadcastVoidArray(data, length,
VTK_FLOAT, srcProcessId);
372 return this->BroadcastVoidArray(data, length,
VTK_DOUBLE, srcProcessId);
376 return this->BroadcastVoidArray(data, length,
VTK_LONG_LONG, srcProcessId);
400 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, destProcessId);
403 const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType length,
int destProcessId)
405 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, destProcessId);
409 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT, destProcessId);
414 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_SHORT, destProcessId);
418 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG, destProcessId);
421 const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType length,
int destProcessId)
423 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_LONG, destProcessId);
426 const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType length,
int destProcessId)
428 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_CHAR, destProcessId);
432 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR, destProcessId);
435 const signed char* sendBuffer,
signed char* recvBuffer,
vtkIdType length,
int destProcessId)
437 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, destProcessId);
441 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT, destProcessId);
445 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE, destProcessId);
448 const long long* sendBuffer,
long long* recvBuffer,
vtkIdType length,
int destProcessId)
450 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG_LONG, destProcessId);
455 return this->GatherVoidArray(
486 std::vector<vtkMultiProcessStream>& recvBuffer,
int destProcessId);
503 return this->GatherVVoidArray(
504 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_INT, destProcessId);
506 int GatherV(
const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType sendLength,
509 return this->GatherVVoidArray(
510 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_UNSIGNED_INT, destProcessId);
515 return this->GatherVVoidArray(
516 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_SHORT, destProcessId);
518 int GatherV(
const unsigned short* sendBuffer,
unsigned short* recvBuffer,
vtkIdType sendLength,
521 return this->GatherVVoidArray(
522 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_UNSIGNED_SHORT, destProcessId);
527 return this->GatherVVoidArray(
528 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_LONG, destProcessId);
530 int GatherV(
const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType sendLength,
533 return this->GatherVVoidArray(
534 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_UNSIGNED_LONG, destProcessId);
536 int GatherV(
const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType sendLength,
539 return this->GatherVVoidArray(
540 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_UNSIGNED_CHAR, destProcessId);
545 return this->GatherVVoidArray(
546 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_CHAR, destProcessId);
551 return this->GatherVVoidArray(
552 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_SIGNED_CHAR, destProcessId);
557 return this->GatherVVoidArray(
558 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_FLOAT, destProcessId);
563 return this->GatherVVoidArray(
564 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_DOUBLE, destProcessId);
569 return this->GatherVVoidArray(
570 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_LONG_LONG, destProcessId);
572 int GatherV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
575 return this->GatherVVoidArray(sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
616 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, srcProcessId);
619 const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType length,
int srcProcessId)
621 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, srcProcessId);
625 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT, srcProcessId);
630 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_SHORT, srcProcessId);
634 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, srcProcessId);
637 const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType length,
int srcProcessId)
639 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_LONG, srcProcessId);
642 const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType length,
int srcProcessId)
644 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_CHAR, srcProcessId);
648 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR, srcProcessId);
651 const signed char* sendBuffer,
signed char* recvBuffer,
vtkIdType length,
int srcProcessId)
653 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, srcProcessId);
657 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT, srcProcessId);
661 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE, srcProcessId);
664 const long long* sendBuffer,
long long* recvBuffer,
vtkIdType length,
int srcProcessId)
666 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG_LONG, srcProcessId);
668 int Scatter(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
671 return this->ScatterVoidArray(
688 return this->ScatterVVoidArray(
689 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_INT, srcProcessId);
694 return this->ScatterVVoidArray(
695 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_UNSIGNED_INT, srcProcessId);
700 return this->ScatterVVoidArray(
701 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_SHORT, srcProcessId);
703 int ScatterV(
const unsigned short* sendBuffer,
unsigned short* recvBuffer,
vtkIdType* sendLengths,
706 return this->ScatterVVoidArray(
707 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_UNSIGNED_SHORT, srcProcessId);
712 return this->ScatterVVoidArray(
713 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_LONG, srcProcessId);
715 int ScatterV(
const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType* sendLengths,
718 return this->ScatterVVoidArray(
719 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_UNSIGNED_LONG, srcProcessId);
721 int ScatterV(
const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType* sendLengths,
724 return this->ScatterVVoidArray(
725 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_UNSIGNED_CHAR, srcProcessId);
730 return this->ScatterVVoidArray(
731 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_CHAR, srcProcessId);
736 return this->ScatterVVoidArray(
737 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_SIGNED_CHAR, srcProcessId);
742 return this->ScatterVVoidArray(
743 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_FLOAT, srcProcessId);
748 return this->ScatterVVoidArray(
749 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_DOUBLE, srcProcessId);
754 return this->ScatterVVoidArray(
755 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_LONG_LONG, srcProcessId);
757 int ScatterV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
760 return this->ScatterVVoidArray(sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
771 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_INT);
775 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT);
779 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT);
787 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG);
791 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_LONG);
795 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_CHAR);
799 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR);
803 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR);
807 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT);
811 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE);
815 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG_LONG);
818 const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
vtkIdType length)
846 return this->AllGatherVVoidArray(
847 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_INT);
852 return this->AllGatherVVoidArray(
853 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_UNSIGNED_INT);
858 return this->AllGatherVVoidArray(
859 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_SHORT);
864 return this->AllGatherVVoidArray(
870 return this->AllGatherVVoidArray(
871 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_LONG);
876 return this->AllGatherVVoidArray(
882 return this->AllGatherVVoidArray(
888 return this->AllGatherVVoidArray(
889 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_CHAR);
894 return this->AllGatherVVoidArray(
900 return this->AllGatherVVoidArray(
901 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_FLOAT);
906 return this->AllGatherVVoidArray(
907 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_DOUBLE);
912 return this->AllGatherVVoidArray(
913 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_LONG_LONG);
915 int AllGatherV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
918 return this->AllGatherVVoidArray(
933 const int* sendBuffer,
int* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
935 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, operation, destProcessId);
938 int operation,
int destProcessId)
940 return this->ReduceVoidArray(
941 sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, operation, destProcessId);
944 const short* sendBuffer,
short* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
946 return this->ReduceVoidArray(
947 sendBuffer, recvBuffer, length,
VTK_SHORT, operation, destProcessId);
950 int operation,
int destProcessId)
952 return this->ReduceVoidArray(
956 const long* sendBuffer,
long* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
958 return this->ReduceVoidArray(
959 sendBuffer, recvBuffer, length,
VTK_LONG, operation, destProcessId);
962 int operation,
int destProcessId)
964 return this->ReduceVoidArray(
968 int operation,
int destProcessId)
970 return this->ReduceVoidArray(
974 const char* sendBuffer,
char* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
976 return this->ReduceVoidArray(
977 sendBuffer, recvBuffer, length,
VTK_CHAR, operation, destProcessId);
980 int operation,
int destProcessId)
982 return this->ReduceVoidArray(
983 sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, operation, destProcessId);
986 const float* sendBuffer,
float* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
988 return this->ReduceVoidArray(
989 sendBuffer, recvBuffer, length,
VTK_FLOAT, operation, destProcessId);
994 return this->ReduceVoidArray(
995 sendBuffer, recvBuffer, length,
VTK_DOUBLE, operation, destProcessId);
1000 return this->ReduceVoidArray(
1001 sendBuffer, recvBuffer, length,
VTK_LONG_LONG, operation, destProcessId);
1004 int operation,
int destProcessId)
1006 return this->ReduceVoidArray(
1020 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, operation, destProcessId);
1023 Operation* operation,
int destProcessId)
1025 return this->ReduceVoidArray(
1026 sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, operation, destProcessId);
1031 return this->ReduceVoidArray(
1032 sendBuffer, recvBuffer, length,
VTK_SHORT, operation, destProcessId);
1035 Operation* operation,
int destProcessId)
1037 return this->ReduceVoidArray(
1043 return this->ReduceVoidArray(
1044 sendBuffer, recvBuffer, length,
VTK_LONG, operation, destProcessId);
1047 Operation* operation,
int destProcessId)
1049 return this->ReduceVoidArray(
1053 Operation* operation,
int destProcessId)
1055 return this->ReduceVoidArray(
1061 return this->ReduceVoidArray(
1062 sendBuffer, recvBuffer, length,
VTK_CHAR, operation, destProcessId);
1065 Operation* operation,
int destProcessId)
1067 return this->ReduceVoidArray(
1068 sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, operation, destProcessId);
1073 return this->ReduceVoidArray(
1074 sendBuffer, recvBuffer, length,
VTK_FLOAT, operation, destProcessId);
1079 return this->ReduceVoidArray(
1080 sendBuffer, recvBuffer, length,
VTK_DOUBLE, operation, destProcessId);
1083 Operation* operation,
int destProcessId)
1085 return this->ReduceVoidArray(
1086 sendBuffer, recvBuffer, length,
VTK_LONG_LONG, operation, destProcessId);
1089 Operation* operation,
int destProcessId)
1091 return this->ReduceVoidArray(
1104 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, operation);
1107 const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType length,
int operation)
1109 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, operation);
1113 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT, operation);
1116 const unsigned short* sendBuffer,
unsigned short* recvBuffer,
vtkIdType length,
int operation)
1118 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_SHORT, operation);
1122 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG, operation);
1125 const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType length,
int operation)
1127 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_LONG, operation);
1130 const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType length,
int operation)
1132 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_CHAR, operation);
1136 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR, operation);
1139 const signed char* sendBuffer,
signed char* recvBuffer,
vtkIdType length,
int operation)
1141 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, operation);
1145 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT, operation);
1149 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE, operation);
1153 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG_LONG, operation);
1155 int AllReduce(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
1158 return this->AllReduceVoidArray(
1164 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, operation);
1169 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, operation);
1173 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT, operation);
1178 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_SHORT, operation);
1182 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG, operation);
1187 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_LONG, operation);
1192 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_CHAR, operation);
1196 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR, operation);
1201 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, operation);
1205 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT, operation);
1210 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE, operation);
1215 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG_LONG, operation);
1217 int AllReduce(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
1220 return this->AllReduceVoidArray(
1232 virtual int GatherVoidArray(
1234 virtual int GatherVVoidArray(
const void* sendBuffer,
void* recvBuffer,
vtkIdType sendLength,
1236 virtual int ScatterVoidArray(
1238 virtual int ScatterVVoidArray(
const void* sendBuffer,
void* recvBuffer,
vtkIdType* sendLengths,
1240 virtual int AllGatherVoidArray(
1242 virtual int AllGatherVVoidArray(
const void* sendBuffer,
void* recvBuffer,
vtkIdType sendLength,
1244 virtual int ReduceVoidArray(
const void* sendBuffer,
void* recvBuffer,
vtkIdType length,
int type,
1245 int operation,
int destProcessId);
1246 virtual int ReduceVoidArray(
const void* sendBuffer,
void* recvBuffer,
vtkIdType length,
int type,
1247 Operation* operation,
int destProcessId);
1248 virtual int AllReduceVoidArray(
1250 virtual int AllReduceVoidArray(
1251 const void* sendBuffer,
void* recvBuffer,
vtkIdType length,
int type, Operation* operation);
1254 static void SetUseCopy(
int useCopy);
1267 virtual int ComputeGlobalBounds(
int processorId,
int numProcesses,
vtkBoundingBox* bounds,
1268 int* rightHasBounds =
nullptr,
int* leftHasBounds =
nullptr,
int hasBoundsTag = 288402,
1269 int localBoundsTag = 288403,
int globalBoundsTag = 288404);
1277 static int GetParentProcessor(
int pid);
1278 static int GetLeftChildProcessor(
int pid);
1319 int GatherVElementalDataObject(
1348 #endif // vtkCommunicator_h
int Receive(double *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int Receive(unsigned int *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int AllGather(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int Broadcast(float *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int AllReduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Gather(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int ScatterV(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int ScatterV(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int Gather(const int *sendBuffer, int *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int GatherV(const double *sendBuffer, double *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int AllReduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
A custom operation to use in a reduce command.
int AllGatherV(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int Send(const short *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Reduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int ScatterV(const double *sendBuffer, double *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int AllReduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int Send(const int *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
abstract base class for most VTK objects
int GatherV(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int Receive(unsigned char *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int Scatter(const double *sendBuffer, double *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int AllGather(const long long *sendBuffer, long long *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
stream used to pass data across processes using vtkMultiProcessController.
int Gather(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int Receive(long long *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int GatherV(const char *sendBuffer, char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int Gather(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
#define VTK_UNSIGNED_SHORT
int AllGatherV(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
abstract class to specify dataset behavior
int Gather(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int AllReduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int AllReduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int AllReduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Reduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int Reduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int Scatter(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int Reduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int ScatterV(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int Scatter(const long *sendBuffer, long *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int Send(const float *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Scatter(const char *sendBuffer, char *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int AllReduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Broadcast(unsigned short *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int Send(const unsigned short *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Scatter(const short *sendBuffer, short *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int ScatterV(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int Broadcast(signed char *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int GatherV(const long long *sendBuffer, long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int AllReduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Send(const signed char *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Reduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int GatherV(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int AllReduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
dynamic, self-adjusting array of vtkIdType
int Reduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int AllGatherV(const int *sendBuffer, int *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int AllReduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Broadcast(char *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int AllGather(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int AllGather(const double *sendBuffer, double *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int MaximumNumberOfProcesses
int Send(const double *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int ScatterV(const short *sendBuffer, short *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int AllGatherV(const long long *sendBuffer, long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int ScatterV(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int GatherV(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int AllReduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int AllReduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int ScatterV(const int *sendBuffer, int *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int Reduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int Scatter(const float *sendBuffer, float *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int AllReduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int Broadcast(unsigned long long *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int Reduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int ScatterV(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
dynamic, self-adjusting array of char
int Broadcast(long *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int AllGather(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int AllGather(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int AllGatherV(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int Gather(const double *sendBuffer, double *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int Receive(char *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int Send(const unsigned int *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Send(const unsigned long long *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Reduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int Scatter(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int AllGatherV(const float *sendBuffer, float *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int Gather(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int AllGatherV(const short *sendBuffer, short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int Reduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
a simple class to control print indentation
int AllReduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int Receive(short *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int ScatterV(const char *sendBuffer, char *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int AllGatherV(const char *sendBuffer, char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int Receive(long *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int GatherV(const short *sendBuffer, short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
topologically and geometrically regular array of data
int GatherV(const long *sendBuffer, long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int Receive(signed char *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int AllReduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
abstract superclass for arrays of numeric data
int AllGather(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int Reduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int Gather(const short *sendBuffer, short *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int AllReduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int Reduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int AllGather(const float *sendBuffer, float *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int AllReduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Reduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int Send(const unsigned long *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Gather(const char *sendBuffer, char *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int AllGatherV(const double *sendBuffer, double *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int Scatter(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int Gather(const float *sendBuffer, float *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int AllGatherV(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int Reduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int GatherV(const int *sendBuffer, int *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int Broadcast(unsigned long *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int AllGather(const long *sendBuffer, long *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int ScatterV(const long long *sendBuffer, long long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int AllReduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int Scatter(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int Broadcast(long long *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int Reduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int Broadcast(short *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int Scatter(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int AllGatherV(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int AllGather(const int *sendBuffer, int *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int Broadcast(double *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int AllReduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Reduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int Send(const long *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Receive(float *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int Send(const long long *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Scatter(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int Send(const unsigned char *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
#define VTK_UNSIGNED_CHAR
int ScatterV(const float *sendBuffer, float *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int Gather(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int AllReduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Reduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int Gather(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int AllGather(const short *sendBuffer, short *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int AllGather(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
Composite dataset that organizes datasets into blocks.
int AllReduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int AllGatherV(const long *sendBuffer, long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int Receive(int *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int Reduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int Receive(unsigned long long *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int Reduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int GatherV(const float *sendBuffer, float *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int Reduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int Broadcast(unsigned char *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
#define VTK_UNSIGNED_LONG
int Receive(unsigned long *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int Broadcast(int *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int GatherV(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int Reduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int AllGather(const char *sendBuffer, char *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int Reduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
Used to send/receive messages in a multiprocess environment.
int Reduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int AllGatherV(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int Scatter(const int *sendBuffer, int *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
general representation of visualization data
int GatherV(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int AllReduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Send(const char *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Reduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int AllReduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int ScatterV(const long *sendBuffer, long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
#define VTK_UNSIGNED_LONG_LONG
int AllReduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int Receive(unsigned short *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int AllReduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int Scatter(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int Broadcast(unsigned int *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int Reduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
Fast, simple class for representing and operating on 3D bounds.
int AllReduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Reduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int GatherV(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int Gather(const long *sendBuffer, long *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.