32 #ifndef vtkCommunicator_h
33 #define vtkCommunicator_h
35 #include "vtkParallelCoreModule.h"
64 virtual void SetNumberOfProcesses(
int num);
65 vtkGetMacro(NumberOfProcesses,
int);
72 vtkGetMacro(LocalProcessId,
int);
124 virtual int Commutative() = 0;
150 int remoteHandle,
int tag) = 0;
157 return this->SendVoidArray(data, length,
VTK_INT, remoteHandle, tag);
160 return this->SendVoidArray(data, length,
VTK_INT, remoteHandle, tag);
163 return this->SendVoidArray(data, length,
VTK_SHORT, remoteHandle, tag);
169 int remoteHandle,
int tag) {
170 return this->SendVoidArray(data, length,
VTK_LONG,remoteHandle,tag);
173 int remoteHandle,
int tag) {
177 int remoteHandle,
int tag) {
181 return this->SendVoidArray(data, length,
VTK_CHAR, remoteHandle, tag);
184 return this->SendVoidArray(data, length,
VTK_SIGNED_CHAR, remoteHandle, tag);
187 return this->SendVoidArray(data, length,
VTK_FLOAT, remoteHandle, tag);
190 return this->SendVoidArray(data, length,
VTK_DOUBLE, remoteHandle, tag);
193 return this->SendVoidArray(data, length,
VTK_LONG_LONG, remoteHandle, tag);
231 int remoteHandle,
int tag) = 0;
238 return this->ReceiveVoidArray(data, maxlength,
VTK_INT, remoteHandle, tag);
241 return this->ReceiveVoidArray(data, maxlength,
VTK_INT, remoteHandle, tag);
244 return this->ReceiveVoidArray(data, maxlength,
VTK_SHORT, remoteHandle, tag);
247 return this->ReceiveVoidArray(data, maxlength,
VTK_UNSIGNED_SHORT, remoteHandle, tag);
250 return this->ReceiveVoidArray(data, maxlength,
VTK_LONG, remoteHandle, tag);
261 return this->ReceiveVoidArray(data, maxlength,
VTK_CHAR, remoteHandle, tag);
264 return this->ReceiveVoidArray(data, maxlength,
VTK_SIGNED_CHAR, remoteHandle, tag);
267 return this->ReceiveVoidArray(data, maxlength,
VTK_FLOAT, remoteHandle, tag);
270 return this->ReceiveVoidArray(data, maxlength,
VTK_DOUBLE, remoteHandle, tag);
273 return this->ReceiveVoidArray(data, maxlength,
VTK_LONG_LONG, remoteHandle, tag);
300 virtual void Barrier();
309 return this->BroadcastVoidArray(data, length,
VTK_INT, srcProcessId);
312 return this->BroadcastVoidArray(data, length,
VTK_UNSIGNED_INT, srcProcessId);
315 return this->BroadcastVoidArray(data, length,
VTK_SHORT, srcProcessId);
321 return this->BroadcastVoidArray(data, length,
VTK_LONG, srcProcessId);
330 return this->BroadcastVoidArray(data, length,
VTK_CHAR, srcProcessId);
333 return this->BroadcastVoidArray(data, length,
VTK_SIGNED_CHAR, srcProcessId);
336 return this->BroadcastVoidArray(data, length,
VTK_FLOAT, srcProcessId);
339 return this->BroadcastVoidArray(data, length,
VTK_DOUBLE, srcProcessId);
342 return this->BroadcastVoidArray(data, length,
VTK_LONG_LONG, srcProcessId);
363 int Gather(
const int *sendBuffer,
int *recvBuffer,
365 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
368 int Gather(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
370 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
373 int Gather(
const short *sendBuffer,
short *recvBuffer,
375 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
378 int Gather(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
380 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
383 int Gather(
const long *sendBuffer,
long *recvBuffer,
385 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
388 int Gather(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
390 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
393 int Gather(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
395 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
398 int Gather(
const char *sendBuffer,
char *recvBuffer,
400 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
403 int Gather(
const signed char *sendBuffer,
signed char *recvBuffer,
405 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
408 int Gather(
const float *sendBuffer,
float *recvBuffer,
410 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
413 int Gather(
const double *sendBuffer,
double *recvBuffer,
415 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
418 int Gather(
const long long *sendBuffer,
long long *recvBuffer,
420 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
423 int Gather(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
425 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
460 int GatherV(
const int* sendBuffer,
int* recvBuffer,
463 return this->GatherVVoidArray(sendBuffer, recvBuffer,
464 sendLength, recvLengths,
465 offsets,
VTK_INT, destProcessId);
467 int GatherV(
const unsigned int* sendBuffer,
unsigned int* recvBuffer,
470 return this->GatherVVoidArray(sendBuffer, recvBuffer,
471 sendLength, recvLengths,
474 int GatherV(
const short* sendBuffer,
short* recvBuffer,
477 return this->GatherVVoidArray(sendBuffer, recvBuffer,
478 sendLength, recvLengths,
481 int GatherV(
const unsigned short* sendBuffer,
unsigned short* recvBuffer,
484 return this->GatherVVoidArray(sendBuffer, recvBuffer,
485 sendLength, recvLengths,
488 int GatherV(
const long* sendBuffer,
long* recvBuffer,
491 return this->GatherVVoidArray(sendBuffer, recvBuffer,
492 sendLength, recvLengths,
495 int GatherV(
const unsigned long* sendBuffer,
unsigned long* recvBuffer,
498 return this->GatherVVoidArray(sendBuffer, recvBuffer,
499 sendLength, recvLengths,
502 int GatherV(
const unsigned char* sendBuffer,
unsigned char* recvBuffer,
505 return this->GatherVVoidArray(sendBuffer, recvBuffer,
506 sendLength, recvLengths,
509 int GatherV(
const char* sendBuffer,
char* recvBuffer,
512 return this->GatherVVoidArray(sendBuffer, recvBuffer,
513 sendLength, recvLengths,
516 int GatherV(
const signed char* sendBuffer,
signed char* recvBuffer,
519 return this->GatherVVoidArray(sendBuffer, recvBuffer,
520 sendLength, recvLengths,
523 int GatherV(
const float* sendBuffer,
float* recvBuffer,
526 return this->GatherVVoidArray(sendBuffer, recvBuffer,
527 sendLength, recvLengths,
530 int GatherV(
const double* sendBuffer,
double* recvBuffer,
533 return this->GatherVVoidArray(sendBuffer, recvBuffer,
534 sendLength, recvLengths,
537 int GatherV(
const long long* sendBuffer,
long long* recvBuffer,
540 return this->GatherVVoidArray(sendBuffer, recvBuffer,
541 sendLength, recvLengths,
544 int GatherV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
547 return this->GatherVVoidArray(sendBuffer, recvBuffer,
548 sendLength, recvLengths,
592 int Scatter(
const int *sendBuffer,
int *recvBuffer,
594 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
597 int Scatter(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
599 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
602 int Scatter(
const short *sendBuffer,
short *recvBuffer,
604 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
607 int Scatter(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
609 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
612 int Scatter(
const long *sendBuffer,
long *recvBuffer,
614 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
617 int Scatter(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
619 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
622 int Scatter(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
624 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
627 int Scatter(
const char *sendBuffer,
char *recvBuffer,
629 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
632 int Scatter(
const signed char *sendBuffer,
signed char *recvBuffer,
634 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
637 int Scatter(
const float *sendBuffer,
float *recvBuffer,
639 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
642 int Scatter(
const double *sendBuffer,
double *recvBuffer,
644 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
647 int Scatter(
const long long *sendBuffer,
long long *recvBuffer,
649 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
652 int Scatter(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
654 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
669 int ScatterV(
const int *sendBuffer,
int *recvBuffer,
671 vtkIdType recvLength,
int srcProcessId) {
672 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
673 sendLengths, offsets, recvLength,
676 int ScatterV(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
678 vtkIdType recvLength,
int srcProcessId) {
679 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
680 sendLengths, offsets, recvLength,
683 int ScatterV(
const short *sendBuffer,
short *recvBuffer,
685 vtkIdType recvLength,
int srcProcessId) {
686 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
687 sendLengths, offsets, recvLength,
690 int ScatterV(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
692 vtkIdType recvLength,
int srcProcessId) {
693 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
694 sendLengths, offsets, recvLength,
697 int ScatterV(
const long *sendBuffer,
long *recvBuffer,
699 vtkIdType recvLength,
int srcProcessId) {
700 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
701 sendLengths, offsets, recvLength,
704 int ScatterV(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
706 vtkIdType recvLength,
int srcProcessId) {
707 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
708 sendLengths, offsets, recvLength,
711 int ScatterV(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
713 vtkIdType recvLength,
int srcProcessId) {
714 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
715 sendLengths, offsets, recvLength,
718 int ScatterV(
const char *sendBuffer,
char *recvBuffer,
720 vtkIdType recvLength,
int srcProcessId) {
721 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
722 sendLengths, offsets, recvLength,
725 int ScatterV(
const signed char *sendBuffer,
signed char *recvBuffer,
727 vtkIdType recvLength,
int srcProcessId) {
728 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
729 sendLengths, offsets, recvLength,
732 int ScatterV(
const float *sendBuffer,
float *recvBuffer,
734 vtkIdType recvLength,
int srcProcessId) {
735 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
736 sendLengths, offsets, recvLength,
739 int ScatterV(
const double *sendBuffer,
double *recvBuffer,
741 vtkIdType recvLength,
int srcProcessId) {
742 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
743 sendLengths, offsets, recvLength,
746 int ScatterV(
const long long *sendBuffer,
long long *recvBuffer,
748 vtkIdType recvLength,
int srcProcessId) {
749 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
750 sendLengths, offsets, recvLength,
753 int ScatterV(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
755 vtkIdType recvLength,
int srcProcessId) {
756 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
757 sendLengths, offsets, recvLength,
767 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_INT);
769 int AllGather(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
771 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
775 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT);
777 int AllGather(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
779 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
783 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG);
787 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
792 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
796 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR);
798 int AllGather(
const signed char *sendBuffer,
signed char *recvBuffer,
800 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
804 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT);
808 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE);
810 int AllGather(
const long long *sendBuffer,
long long *recvBuffer,
812 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
817 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
830 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
831 sendLength, recvLengths,
834 int AllGatherV(
const unsigned int* sendBuffer,
unsigned int* recvBuffer,
837 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
838 sendLength, recvLengths,
844 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
845 sendLength, recvLengths,
848 int AllGatherV(
const unsigned short* sendBuffer,
unsigned short* recvBuffer,
851 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
852 sendLength, recvLengths,
858 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
859 sendLength, recvLengths,
862 int AllGatherV(
const unsigned long* sendBuffer,
unsigned long* recvBuffer,
865 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
866 sendLength, recvLengths,
869 int AllGatherV(
const unsigned char* sendBuffer,
unsigned char* recvBuffer,
872 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
873 sendLength, recvLengths,
879 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
880 sendLength, recvLengths,
883 int AllGatherV(
const signed char* sendBuffer,
signed char* recvBuffer,
886 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
887 sendLength, recvLengths,
893 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
894 sendLength, recvLengths,
900 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
901 sendLength, recvLengths,
904 int AllGatherV(
const long long* sendBuffer,
long long* recvBuffer,
907 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
908 sendLength, recvLengths,
911 int AllGatherV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
914 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
915 sendLength, recvLengths,
929 int Reduce(
const int *sendBuffer,
int *recvBuffer,
931 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
932 VTK_INT, operation, destProcessId);
934 int Reduce(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
936 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
939 int Reduce(
const short *sendBuffer,
short *recvBuffer,
941 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
944 int Reduce(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
946 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
949 int Reduce(
const long *sendBuffer,
long *recvBuffer,
951 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
952 VTK_LONG, operation, destProcessId);
954 int Reduce(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
956 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
959 int Reduce(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
961 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
964 int Reduce(
const char *sendBuffer,
char *recvBuffer,
966 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
967 VTK_CHAR, operation, destProcessId);
969 int Reduce(
const signed char *sendBuffer,
signed char *recvBuffer,
971 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
974 int Reduce(
const float *sendBuffer,
float *recvBuffer,
976 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
979 int Reduce(
const double *sendBuffer,
double *recvBuffer,
981 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
984 int Reduce(
const long long *sendBuffer,
long long *recvBuffer,
986 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
989 int Reduce(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
991 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
995 int operation,
int destProcessId);
1003 int Reduce(
const int *sendBuffer,
int *recvBuffer,
1005 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1006 VTK_INT, operation, destProcessId);
1008 int Reduce(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
1010 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1013 int Reduce(
const short *sendBuffer,
short *recvBuffer,
1015 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1018 int Reduce(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
1020 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1023 int Reduce(
const long *sendBuffer,
long *recvBuffer,
1025 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1026 VTK_LONG, operation, destProcessId);
1028 int Reduce(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
1030 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1033 int Reduce(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
1035 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1038 int Reduce(
const char *sendBuffer,
char *recvBuffer,
1040 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1041 VTK_CHAR, operation, destProcessId);
1043 int Reduce(
const signed char *sendBuffer,
signed char *recvBuffer,
1045 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1048 int Reduce(
const float *sendBuffer,
float *recvBuffer,
1050 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1053 int Reduce(
const double *sendBuffer,
double *recvBuffer,
1055 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1058 int Reduce(
const long long *sendBuffer,
long long *recvBuffer,
1060 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1063 int Reduce(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
1065 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1069 Operation *operation,
int destProcessId);
1078 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1081 int AllReduce(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
1083 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1088 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1091 int AllReduce(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
1093 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1098 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1101 int AllReduce(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
1103 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1106 int AllReduce(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
1108 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1113 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1116 int AllReduce(
const signed char *sendBuffer,
signed char *recvBuffer,
1118 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1123 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1128 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1131 int AllReduce(
const long long *sendBuffer,
long long *recvBuffer,
1133 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1136 int AllReduce(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
1138 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1145 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1148 int AllReduce(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
1150 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1155 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1158 int AllReduce(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
1160 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1165 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1168 int AllReduce(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
1170 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1173 int AllReduce(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
1175 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1180 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1183 int AllReduce(
const signed char *sendBuffer,
signed char *recvBuffer,
1185 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1190 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1195 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1198 int AllReduce(
const long long *sendBuffer,
long long *recvBuffer,
1200 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1203 int AllReduce(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
1205 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1209 Operation *operation);
1219 virtual int GatherVoidArray(
const void *sendBuffer,
void *recvBuffer,
1221 virtual int GatherVVoidArray(
const void *sendBuffer,
void *recvBuffer,
1224 virtual int ScatterVoidArray(
const void *sendBuffer,
void *recvBuffer,
1226 virtual int ScatterVVoidArray(
const void *sendBuffer,
void *recvBuffer,
1230 virtual int AllGatherVoidArray(
const void *sendBuffer,
void *recvBuffer,
1232 virtual int AllGatherVVoidArray(
const void *sendBuffer,
void *recvBuffer,
1235 virtual int ReduceVoidArray(
const void *sendBuffer,
void *recvBuffer,
1237 int operation,
int destProcessId);
1238 virtual int ReduceVoidArray(
const void *sendBuffer,
void *recvBuffer,
1240 Operation *operation,
int destProcessId);
1241 virtual int AllReduceVoidArray(
const void *sendBuffer,
void *recvBuffer,
1244 virtual int AllReduceVoidArray(
const void *sendBuffer,
void *recvBuffer,
1246 Operation *operation);
1249 static void SetUseCopy(
int useCopy);
1262 virtual int ComputeGlobalBounds(
int processorId,
int numProcesses,
1264 int *rightHasBounds = 0,
1265 int *leftHasBounds = 0,
1266 int hasBoundsTag = 288402,
1267 int localBoundsTag = 288403,
1268 int globalBoundsTag = 288404);
1276 static int GetParentProcessor(
int pid);
1277 static int GetLeftChildProcessor(
int pid);
1325 int remoteHandle,
int tag,
int type=-1);
1327 int remoteHandle,
int tag);
1328 int ReceiveMultiBlockDataSet(
1331 int MaximumNumberOfProcesses;
1332 int NumberOfProcesses;
1345 #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 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 dealing with 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.