35 #ifndef vtkCommunicator_h 36 #define vtkCommunicator_h 38 #include "vtkParallelCoreModule.h" 67 virtual void SetNumberOfProcesses(
int num);
68 vtkGetMacro(NumberOfProcesses,
int);
75 vtkGetMacro(LocalProcessId,
int);
127 virtual int Commutative() = 0;
144 int Send(
vtkDataArray* data,
int remoteHandle,
int tag);
153 int remoteHandle,
int tag) = 0;
160 return this->SendVoidArray(data, length,
VTK_INT, remoteHandle, tag);
162 int Send(
const unsigned int* data,
vtkIdType length,
int remoteHandle,
int tag) {
163 return this->SendVoidArray(data, length,
VTK_INT, remoteHandle, tag);
166 return this->SendVoidArray(data, length,
VTK_SHORT, remoteHandle, tag);
168 int Send(
const unsigned short* data,
vtkIdType length,
int remoteHandle,
int tag) {
172 int remoteHandle,
int tag) {
173 return this->SendVoidArray(data, length,
VTK_LONG,remoteHandle,tag);
176 int remoteHandle,
int tag) {
180 int remoteHandle,
int tag) {
184 return this->SendVoidArray(data, length,
VTK_CHAR, remoteHandle, tag);
186 int Send(
const signed char* data,
vtkIdType length,
int remoteHandle,
int tag) {
187 return this->SendVoidArray(data, length,
VTK_SIGNED_CHAR, remoteHandle, tag);
190 return this->SendVoidArray(data, length,
VTK_FLOAT, remoteHandle, tag);
193 return this->SendVoidArray(data, length,
VTK_DOUBLE, remoteHandle, tag);
195 int Send(
const long long* data,
vtkIdType length,
int remoteHandle,
int tag) {
196 return this->SendVoidArray(data, length,
VTK_LONG_LONG, remoteHandle, tag);
198 int Send(
const unsigned long long* data,
vtkIdType length,
int remoteHandle,
int tag) {
221 int Receive(
vtkDataArray* data,
int remoteHandle,
int tag);
233 virtual int ReceiveVoidArray(
void *data,
vtkIdType maxlength,
int type,
234 int remoteHandle,
int tag) = 0;
241 return this->ReceiveVoidArray(data, maxlength,
VTK_INT, remoteHandle, tag);
244 return this->ReceiveVoidArray(data, maxlength,
VTK_INT, remoteHandle, tag);
247 return this->ReceiveVoidArray(data, maxlength,
VTK_SHORT, remoteHandle, tag);
250 return this->ReceiveVoidArray(data, maxlength,
VTK_UNSIGNED_SHORT, remoteHandle, tag);
253 return this->ReceiveVoidArray(data, maxlength,
VTK_LONG, remoteHandle, tag);
264 return this->ReceiveVoidArray(data, maxlength,
VTK_CHAR, remoteHandle, tag);
267 return this->ReceiveVoidArray(data, maxlength,
VTK_SIGNED_CHAR, remoteHandle, tag);
270 return this->ReceiveVoidArray(data, maxlength,
VTK_FLOAT, remoteHandle, tag);
273 return this->ReceiveVoidArray(data, maxlength,
VTK_DOUBLE, remoteHandle, tag);
276 return this->ReceiveVoidArray(data, maxlength,
VTK_LONG_LONG, remoteHandle, tag);
303 virtual void Barrier();
312 return this->BroadcastVoidArray(data, length,
VTK_INT, srcProcessId);
315 return this->BroadcastVoidArray(data, length,
VTK_UNSIGNED_INT, srcProcessId);
318 return this->BroadcastVoidArray(data, length,
VTK_SHORT, srcProcessId);
324 return this->BroadcastVoidArray(data, length,
VTK_LONG, srcProcessId);
333 return this->BroadcastVoidArray(data, length,
VTK_CHAR, srcProcessId);
336 return this->BroadcastVoidArray(data, length,
VTK_SIGNED_CHAR, srcProcessId);
339 return this->BroadcastVoidArray(data, length,
VTK_FLOAT, srcProcessId);
342 return this->BroadcastVoidArray(data, length,
VTK_DOUBLE, srcProcessId);
345 return this->BroadcastVoidArray(data, length,
VTK_LONG_LONG, srcProcessId);
366 int Gather(
const int *sendBuffer,
int *recvBuffer,
368 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
371 int Gather(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
373 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
376 int Gather(
const short *sendBuffer,
short *recvBuffer,
378 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
381 int Gather(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
383 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
386 int Gather(
const long *sendBuffer,
long *recvBuffer,
388 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
391 int Gather(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
393 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
396 int Gather(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
398 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
401 int Gather(
const char *sendBuffer,
char *recvBuffer,
403 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
406 int Gather(
const signed char *sendBuffer,
signed char *recvBuffer,
408 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
411 int Gather(
const float *sendBuffer,
float *recvBuffer,
413 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
416 int Gather(
const double *sendBuffer,
double *recvBuffer,
418 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
421 int Gather(
const long long *sendBuffer,
long long *recvBuffer,
423 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
426 int Gather(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
428 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
463 int GatherV(
const int* sendBuffer,
int* recvBuffer,
466 return this->GatherVVoidArray(sendBuffer, recvBuffer,
467 sendLength, recvLengths,
468 offsets,
VTK_INT, destProcessId);
470 int GatherV(
const unsigned int* sendBuffer,
unsigned int* recvBuffer,
473 return this->GatherVVoidArray(sendBuffer, recvBuffer,
474 sendLength, recvLengths,
477 int GatherV(
const short* sendBuffer,
short* recvBuffer,
480 return this->GatherVVoidArray(sendBuffer, recvBuffer,
481 sendLength, recvLengths,
484 int GatherV(
const unsigned short* sendBuffer,
unsigned short* recvBuffer,
487 return this->GatherVVoidArray(sendBuffer, recvBuffer,
488 sendLength, recvLengths,
491 int GatherV(
const long* sendBuffer,
long* recvBuffer,
494 return this->GatherVVoidArray(sendBuffer, recvBuffer,
495 sendLength, recvLengths,
498 int GatherV(
const unsigned long* sendBuffer,
unsigned long* recvBuffer,
501 return this->GatherVVoidArray(sendBuffer, recvBuffer,
502 sendLength, recvLengths,
505 int GatherV(
const unsigned char* sendBuffer,
unsigned char* recvBuffer,
508 return this->GatherVVoidArray(sendBuffer, recvBuffer,
509 sendLength, recvLengths,
512 int GatherV(
const char* sendBuffer,
char* recvBuffer,
515 return this->GatherVVoidArray(sendBuffer, recvBuffer,
516 sendLength, recvLengths,
519 int GatherV(
const signed char* sendBuffer,
signed char* recvBuffer,
522 return this->GatherVVoidArray(sendBuffer, recvBuffer,
523 sendLength, recvLengths,
526 int GatherV(
const float* sendBuffer,
float* recvBuffer,
529 return this->GatherVVoidArray(sendBuffer, recvBuffer,
530 sendLength, recvLengths,
533 int GatherV(
const double* sendBuffer,
double* recvBuffer,
536 return this->GatherVVoidArray(sendBuffer, recvBuffer,
537 sendLength, recvLengths,
540 int GatherV(
const long long* sendBuffer,
long long* recvBuffer,
543 return this->GatherVVoidArray(sendBuffer, recvBuffer,
544 sendLength, recvLengths,
547 int GatherV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
550 return this->GatherVVoidArray(sendBuffer, recvBuffer,
551 sendLength, recvLengths,
595 int Scatter(
const int *sendBuffer,
int *recvBuffer,
597 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
600 int Scatter(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
602 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
605 int Scatter(
const short *sendBuffer,
short *recvBuffer,
607 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
610 int Scatter(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
612 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
615 int Scatter(
const long *sendBuffer,
long *recvBuffer,
617 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
620 int Scatter(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
622 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
625 int Scatter(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
627 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
630 int Scatter(
const char *sendBuffer,
char *recvBuffer,
632 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
635 int Scatter(
const signed char *sendBuffer,
signed char *recvBuffer,
637 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
640 int Scatter(
const float *sendBuffer,
float *recvBuffer,
642 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
645 int Scatter(
const double *sendBuffer,
double *recvBuffer,
647 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
650 int Scatter(
const long long *sendBuffer,
long long *recvBuffer,
652 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
655 int Scatter(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
657 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
672 int ScatterV(
const int *sendBuffer,
int *recvBuffer,
674 vtkIdType recvLength,
int srcProcessId) {
675 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
676 sendLengths, offsets, recvLength,
679 int ScatterV(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
681 vtkIdType recvLength,
int srcProcessId) {
682 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
683 sendLengths, offsets, recvLength,
686 int ScatterV(
const short *sendBuffer,
short *recvBuffer,
688 vtkIdType recvLength,
int srcProcessId) {
689 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
690 sendLengths, offsets, recvLength,
693 int ScatterV(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
695 vtkIdType recvLength,
int srcProcessId) {
696 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
697 sendLengths, offsets, recvLength,
700 int ScatterV(
const long *sendBuffer,
long *recvBuffer,
702 vtkIdType recvLength,
int srcProcessId) {
703 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
704 sendLengths, offsets, recvLength,
707 int ScatterV(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
709 vtkIdType recvLength,
int srcProcessId) {
710 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
711 sendLengths, offsets, recvLength,
714 int ScatterV(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
716 vtkIdType recvLength,
int srcProcessId) {
717 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
718 sendLengths, offsets, recvLength,
721 int ScatterV(
const char *sendBuffer,
char *recvBuffer,
723 vtkIdType recvLength,
int srcProcessId) {
724 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
725 sendLengths, offsets, recvLength,
728 int ScatterV(
const signed char *sendBuffer,
signed char *recvBuffer,
730 vtkIdType recvLength,
int srcProcessId) {
731 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
732 sendLengths, offsets, recvLength,
735 int ScatterV(
const float *sendBuffer,
float *recvBuffer,
737 vtkIdType recvLength,
int srcProcessId) {
738 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
739 sendLengths, offsets, recvLength,
742 int ScatterV(
const double *sendBuffer,
double *recvBuffer,
744 vtkIdType recvLength,
int srcProcessId) {
745 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
746 sendLengths, offsets, recvLength,
749 int ScatterV(
const long long *sendBuffer,
long long *recvBuffer,
751 vtkIdType recvLength,
int srcProcessId) {
752 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
753 sendLengths, offsets, recvLength,
756 int ScatterV(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
758 vtkIdType recvLength,
int srcProcessId) {
759 return this->ScatterVVoidArray(sendBuffer, recvBuffer,
760 sendLengths, offsets, recvLength,
770 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_INT);
772 int AllGather(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
774 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
778 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT);
780 int AllGather(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
782 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
786 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG);
789 unsigned long *recvBuffer,
vtkIdType length) {
790 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
794 unsigned char *recvBuffer,
vtkIdType length) {
795 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
799 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR);
801 int AllGather(
const signed char *sendBuffer,
signed char *recvBuffer,
803 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
807 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT);
811 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE);
813 int AllGather(
const long long *sendBuffer,
long long *recvBuffer,
815 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
819 unsigned long long *recvBuffer,
vtkIdType length) {
820 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
833 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
834 sendLength, recvLengths,
837 int AllGatherV(
const unsigned int* sendBuffer,
unsigned int* recvBuffer,
840 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
841 sendLength, recvLengths,
847 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
848 sendLength, recvLengths,
851 int AllGatherV(
const unsigned short* sendBuffer,
unsigned short* recvBuffer,
854 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
855 sendLength, recvLengths,
861 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
862 sendLength, recvLengths,
865 int AllGatherV(
const unsigned long* sendBuffer,
unsigned long* recvBuffer,
868 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
869 sendLength, recvLengths,
872 int AllGatherV(
const unsigned char* sendBuffer,
unsigned char* recvBuffer,
875 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
876 sendLength, recvLengths,
882 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
883 sendLength, recvLengths,
886 int AllGatherV(
const signed char* sendBuffer,
signed char* recvBuffer,
889 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
890 sendLength, recvLengths,
896 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
897 sendLength, recvLengths,
903 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
904 sendLength, recvLengths,
907 int AllGatherV(
const long long* sendBuffer,
long long* recvBuffer,
910 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
911 sendLength, recvLengths,
914 int AllGatherV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
917 return this->AllGatherVVoidArray(sendBuffer, recvBuffer,
918 sendLength, recvLengths,
932 int Reduce(
const int *sendBuffer,
int *recvBuffer,
933 vtkIdType length,
int operation,
int destProcessId) {
934 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
935 VTK_INT, operation, destProcessId);
937 int Reduce(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
938 vtkIdType length,
int operation,
int destProcessId) {
939 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
942 int Reduce(
const short *sendBuffer,
short *recvBuffer,
943 vtkIdType length,
int operation,
int destProcessId) {
944 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
947 int Reduce(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
948 vtkIdType length,
int operation,
int destProcessId) {
949 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
952 int Reduce(
const long *sendBuffer,
long *recvBuffer,
953 vtkIdType length,
int operation,
int destProcessId) {
954 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
955 VTK_LONG, operation, destProcessId);
957 int Reduce(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
958 vtkIdType length,
int operation,
int destProcessId) {
959 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
962 int Reduce(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
963 vtkIdType length,
int operation,
int destProcessId) {
964 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
967 int Reduce(
const char *sendBuffer,
char *recvBuffer,
968 vtkIdType length,
int operation,
int destProcessId) {
969 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
970 VTK_CHAR, operation, destProcessId);
972 int Reduce(
const signed char *sendBuffer,
signed char *recvBuffer,
973 vtkIdType length,
int operation,
int destProcessId) {
974 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
977 int Reduce(
const float *sendBuffer,
float *recvBuffer,
978 vtkIdType length,
int operation,
int destProcessId) {
979 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
982 int Reduce(
const double *sendBuffer,
double *recvBuffer,
983 vtkIdType length,
int operation,
int destProcessId) {
984 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
987 int Reduce(
const long long *sendBuffer,
long long *recvBuffer,
988 vtkIdType length,
int operation,
int destProcessId) {
989 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
992 int Reduce(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
993 vtkIdType length,
int operation,
int destProcessId) {
994 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
998 int operation,
int destProcessId);
1006 int Reduce(
const int *sendBuffer,
int *recvBuffer,
1008 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1009 VTK_INT, operation, destProcessId);
1011 int Reduce(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
1013 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1016 int Reduce(
const short *sendBuffer,
short *recvBuffer,
1018 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1021 int Reduce(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
1023 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1026 int Reduce(
const long *sendBuffer,
long *recvBuffer,
1028 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1029 VTK_LONG, operation, destProcessId);
1031 int Reduce(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
1033 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1036 int Reduce(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
1038 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1041 int Reduce(
const char *sendBuffer,
char *recvBuffer,
1043 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1044 VTK_CHAR, operation, destProcessId);
1046 int Reduce(
const signed char *sendBuffer,
signed char *recvBuffer,
1048 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1051 int Reduce(
const float *sendBuffer,
float *recvBuffer,
1053 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1056 int Reduce(
const double *sendBuffer,
double *recvBuffer,
1058 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1061 int Reduce(
const long long *sendBuffer,
long long *recvBuffer,
1063 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1066 int Reduce(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
1068 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
1072 Operation *operation,
int destProcessId);
1081 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1084 int AllReduce(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
1086 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1091 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1094 int AllReduce(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
1096 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1101 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1104 int AllReduce(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
1106 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1109 int AllReduce(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
1111 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1116 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1119 int AllReduce(
const signed char *sendBuffer,
signed char *recvBuffer,
1121 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1126 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1131 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1134 int AllReduce(
const long long *sendBuffer,
long long *recvBuffer,
1136 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1139 int AllReduce(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
1141 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1148 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1151 int AllReduce(
const unsigned int *sendBuffer,
unsigned int *recvBuffer,
1153 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1158 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1161 int AllReduce(
const unsigned short *sendBuffer,
unsigned short *recvBuffer,
1163 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1168 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1171 int AllReduce(
const unsigned long *sendBuffer,
unsigned long *recvBuffer,
1173 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1176 int AllReduce(
const unsigned char *sendBuffer,
unsigned char *recvBuffer,
1178 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1183 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1186 int AllReduce(
const signed char *sendBuffer,
signed char *recvBuffer,
1188 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1193 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1198 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1201 int AllReduce(
const long long *sendBuffer,
long long *recvBuffer,
1203 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1206 int AllReduce(
const unsigned long long *sendBuffer,
unsigned long long *recvBuffer,
1208 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
1220 virtual int BroadcastVoidArray(
void *data,
vtkIdType length,
int type,
1222 virtual int GatherVoidArray(
const void *sendBuffer,
void *recvBuffer,
1223 vtkIdType length,
int type,
int destProcessId);
1224 virtual int GatherVVoidArray(
const void *sendBuffer,
void *recvBuffer,
1226 vtkIdType *offsets,
int type,
int destProcessId);
1227 virtual int ScatterVoidArray(
const void *sendBuffer,
void *recvBuffer,
1228 vtkIdType length,
int type,
int srcProcessId);
1229 virtual int ScatterVVoidArray(
const void *sendBuffer,
void *recvBuffer,
1233 virtual int AllGatherVoidArray(
const void *sendBuffer,
void *recvBuffer,
1235 virtual int AllGatherVVoidArray(
const void *sendBuffer,
void *recvBuffer,
1238 virtual int ReduceVoidArray(
const void *sendBuffer,
void *recvBuffer,
1240 int operation,
int destProcessId);
1241 virtual int ReduceVoidArray(
const void *sendBuffer,
void *recvBuffer,
1243 Operation *operation,
int destProcessId);
1244 virtual int AllReduceVoidArray(
const void *sendBuffer,
void *recvBuffer,
1247 virtual int AllReduceVoidArray(
const void *sendBuffer,
void *recvBuffer,
1252 static void SetUseCopy(
int useCopy);
1265 virtual int ComputeGlobalBounds(
int processorId,
int numProcesses,
1267 int *rightHasBounds =
nullptr,
1268 int *leftHasBounds =
nullptr,
1269 int hasBoundsTag = 288402,
1270 int localBoundsTag = 288403,
1271 int globalBoundsTag = 288404);
1279 static int GetParentProcessor(
int pid);
1280 static int GetLeftChildProcessor(
int pid);
1310 int SendElementalDataObject(
vtkDataObject* data,
int remoteHandle,
int tag);
1328 int remoteHandle,
int tag,
int type=-1);
1330 int remoteHandle,
int tag);
1331 int ReceiveMultiBlockDataSet(
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 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.