23 #ifndef vtkCommunicator_h
24 #define vtkCommunicator_h
27 #include "vtkParallelCoreModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
55 virtual void SetNumberOfProcesses(
int num);
56 vtkGetMacro(NumberOfProcesses,
int);
63 vtkGetMacro(LocalProcessId,
int);
108 virtual void Function(
const void* A,
void* B,
vtkIdType length,
int datatype) = 0;
114 virtual int Commutative() = 0;
139 virtual int SendVoidArray(
148 return this->SendVoidArray(data, length,
VTK_INT, remoteHandle, tag);
152 return this->SendVoidArray(data, length,
VTK_INT, remoteHandle, tag);
156 return this->SendVoidArray(data, length,
VTK_SHORT, remoteHandle, tag);
164 return this->SendVoidArray(data, length,
VTK_LONG, remoteHandle, tag);
176 return this->SendVoidArray(data, length,
VTK_CHAR, remoteHandle, tag);
180 return this->SendVoidArray(data, length,
VTK_SIGNED_CHAR, remoteHandle, tag);
184 return this->SendVoidArray(data, length,
VTK_FLOAT, remoteHandle, tag);
188 return this->SendVoidArray(data, length,
VTK_DOUBLE, remoteHandle, tag);
192 return this->SendVoidArray(data, length,
VTK_LONG_LONG, remoteHandle, tag);
230 virtual int ReceiveVoidArray(
239 return this->ReceiveVoidArray(data, maxlength,
VTK_INT, remoteHandle, tag);
243 return this->ReceiveVoidArray(data, maxlength,
VTK_INT, remoteHandle, tag);
247 return this->ReceiveVoidArray(data, maxlength,
VTK_SHORT, remoteHandle, tag);
251 return this->ReceiveVoidArray(data, maxlength,
VTK_UNSIGNED_SHORT, remoteHandle, tag);
255 return this->ReceiveVoidArray(data, maxlength,
VTK_LONG, remoteHandle, tag);
259 return this->ReceiveVoidArray(data, maxlength,
VTK_UNSIGNED_LONG, remoteHandle, tag);
263 return this->ReceiveVoidArray(data, maxlength,
VTK_UNSIGNED_CHAR, remoteHandle, tag);
267 return this->ReceiveVoidArray(data, maxlength,
VTK_CHAR, remoteHandle, tag);
271 return this->ReceiveVoidArray(data, maxlength,
VTK_SIGNED_CHAR, remoteHandle, tag);
275 return this->ReceiveVoidArray(data, maxlength,
VTK_FLOAT, remoteHandle, tag);
279 return this->ReceiveVoidArray(data, maxlength,
VTK_DOUBLE, remoteHandle, tag);
283 return this->ReceiveVoidArray(data, maxlength,
VTK_LONG_LONG, remoteHandle, tag);
311 virtual void Barrier();
321 return this->BroadcastVoidArray(data, length,
VTK_INT, srcProcessId);
325 return this->BroadcastVoidArray(data, length,
VTK_UNSIGNED_INT, srcProcessId);
329 return this->BroadcastVoidArray(data, length,
VTK_SHORT, srcProcessId);
337 return this->BroadcastVoidArray(data, length,
VTK_LONG, srcProcessId);
349 return this->BroadcastVoidArray(data, length,
VTK_CHAR, srcProcessId);
353 return this->BroadcastVoidArray(data, length,
VTK_SIGNED_CHAR, srcProcessId);
357 return this->BroadcastVoidArray(data, length,
VTK_FLOAT, srcProcessId);
361 return this->BroadcastVoidArray(data, length,
VTK_DOUBLE, srcProcessId);
365 return this->BroadcastVoidArray(data, length,
VTK_LONG_LONG, srcProcessId);
389 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, destProcessId);
392 const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType length,
int destProcessId)
394 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, destProcessId);
398 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT, destProcessId);
403 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_SHORT, destProcessId);
407 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG, destProcessId);
410 const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType length,
int destProcessId)
412 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_LONG, destProcessId);
415 const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType length,
int destProcessId)
417 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_CHAR, destProcessId);
421 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR, destProcessId);
424 const signed char* sendBuffer,
signed char* recvBuffer,
vtkIdType length,
int destProcessId)
426 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, destProcessId);
430 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT, destProcessId);
434 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE, destProcessId);
437 const long long* sendBuffer,
long long* recvBuffer,
vtkIdType length,
int destProcessId)
439 return this->GatherVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG_LONG, destProcessId);
444 return this->GatherVoidArray(
475 std::vector<vtkMultiProcessStream>& recvBuffer,
int destProcessId);
492 return this->GatherVVoidArray(
493 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_INT, destProcessId);
495 int GatherV(
const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType sendLength,
498 return this->GatherVVoidArray(
499 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_UNSIGNED_INT, destProcessId);
504 return this->GatherVVoidArray(
505 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_SHORT, destProcessId);
507 int GatherV(
const unsigned short* sendBuffer,
unsigned short* recvBuffer,
vtkIdType sendLength,
510 return this->GatherVVoidArray(
511 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_UNSIGNED_SHORT, destProcessId);
516 return this->GatherVVoidArray(
517 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_LONG, destProcessId);
519 int GatherV(
const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType sendLength,
522 return this->GatherVVoidArray(
523 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_UNSIGNED_LONG, destProcessId);
525 int GatherV(
const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType sendLength,
528 return this->GatherVVoidArray(
529 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_UNSIGNED_CHAR, destProcessId);
534 return this->GatherVVoidArray(
535 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_CHAR, destProcessId);
540 return this->GatherVVoidArray(
541 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_SIGNED_CHAR, destProcessId);
546 return this->GatherVVoidArray(
547 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_FLOAT, destProcessId);
552 return this->GatherVVoidArray(
553 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_DOUBLE, destProcessId);
558 return this->GatherVVoidArray(
559 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_LONG_LONG, destProcessId);
561 int GatherV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
564 return this->GatherVVoidArray(sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
605 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, srcProcessId);
608 const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType length,
int srcProcessId)
610 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, srcProcessId);
614 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT, srcProcessId);
619 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_SHORT, srcProcessId);
623 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, srcProcessId);
626 const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType length,
int srcProcessId)
628 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_LONG, srcProcessId);
631 const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType length,
int srcProcessId)
633 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_CHAR, srcProcessId);
637 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR, srcProcessId);
640 const signed char* sendBuffer,
signed char* recvBuffer,
vtkIdType length,
int srcProcessId)
642 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, srcProcessId);
646 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT, srcProcessId);
650 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE, srcProcessId);
653 const long long* sendBuffer,
long long* recvBuffer,
vtkIdType length,
int srcProcessId)
655 return this->ScatterVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG_LONG, srcProcessId);
657 int Scatter(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
660 return this->ScatterVoidArray(
677 return this->ScatterVVoidArray(
678 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_INT, srcProcessId);
683 return this->ScatterVVoidArray(
684 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_UNSIGNED_INT, srcProcessId);
689 return this->ScatterVVoidArray(
690 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_SHORT, srcProcessId);
692 int ScatterV(
const unsigned short* sendBuffer,
unsigned short* recvBuffer,
vtkIdType* sendLengths,
695 return this->ScatterVVoidArray(
696 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_UNSIGNED_SHORT, srcProcessId);
701 return this->ScatterVVoidArray(
702 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_LONG, srcProcessId);
704 int ScatterV(
const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType* sendLengths,
707 return this->ScatterVVoidArray(
708 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_UNSIGNED_LONG, srcProcessId);
710 int ScatterV(
const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType* sendLengths,
713 return this->ScatterVVoidArray(
714 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_UNSIGNED_CHAR, srcProcessId);
719 return this->ScatterVVoidArray(
720 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_CHAR, srcProcessId);
725 return this->ScatterVVoidArray(
726 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_SIGNED_CHAR, srcProcessId);
731 return this->ScatterVVoidArray(
732 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_FLOAT, srcProcessId);
737 return this->ScatterVVoidArray(
738 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_DOUBLE, srcProcessId);
743 return this->ScatterVVoidArray(
744 sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
VTK_LONG_LONG, srcProcessId);
746 int ScatterV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
749 return this->ScatterVVoidArray(sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
760 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_INT);
764 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT);
768 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT);
776 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG);
780 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_LONG);
784 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_CHAR);
788 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR);
792 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR);
796 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT);
800 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE);
804 return this->AllGatherVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG_LONG);
807 const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
vtkIdType length)
835 return this->AllGatherVVoidArray(
836 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_INT);
841 return this->AllGatherVVoidArray(
842 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_UNSIGNED_INT);
847 return this->AllGatherVVoidArray(
848 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_SHORT);
853 return this->AllGatherVVoidArray(
859 return this->AllGatherVVoidArray(
860 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_LONG);
865 return this->AllGatherVVoidArray(
871 return this->AllGatherVVoidArray(
877 return this->AllGatherVVoidArray(
878 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_CHAR);
883 return this->AllGatherVVoidArray(
889 return this->AllGatherVVoidArray(
890 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_FLOAT);
895 return this->AllGatherVVoidArray(
896 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_DOUBLE);
901 return this->AllGatherVVoidArray(
902 sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
VTK_LONG_LONG);
904 int AllGatherV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
907 return this->AllGatherVVoidArray(
922 const int* sendBuffer,
int* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
924 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, operation, destProcessId);
927 int operation,
int destProcessId)
929 return this->ReduceVoidArray(
930 sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, operation, destProcessId);
933 const short* sendBuffer,
short* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
935 return this->ReduceVoidArray(
936 sendBuffer, recvBuffer, length,
VTK_SHORT, operation, destProcessId);
939 int operation,
int destProcessId)
941 return this->ReduceVoidArray(
945 const long* sendBuffer,
long* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
947 return this->ReduceVoidArray(
948 sendBuffer, recvBuffer, length,
VTK_LONG, operation, destProcessId);
951 int operation,
int destProcessId)
953 return this->ReduceVoidArray(
957 int operation,
int destProcessId)
959 return this->ReduceVoidArray(
963 const char* sendBuffer,
char* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
965 return this->ReduceVoidArray(
966 sendBuffer, recvBuffer, length,
VTK_CHAR, operation, destProcessId);
969 int operation,
int destProcessId)
971 return this->ReduceVoidArray(
972 sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, operation, destProcessId);
975 const float* sendBuffer,
float* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
977 return this->ReduceVoidArray(
978 sendBuffer, recvBuffer, length,
VTK_FLOAT, operation, destProcessId);
983 return this->ReduceVoidArray(
984 sendBuffer, recvBuffer, length,
VTK_DOUBLE, operation, destProcessId);
989 return this->ReduceVoidArray(
990 sendBuffer, recvBuffer, length,
VTK_LONG_LONG, operation, destProcessId);
993 int operation,
int destProcessId)
995 return this->ReduceVoidArray(
1009 return this->ReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, operation, destProcessId);
1012 Operation* operation,
int destProcessId)
1014 return this->ReduceVoidArray(
1015 sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, operation, destProcessId);
1020 return this->ReduceVoidArray(
1021 sendBuffer, recvBuffer, length,
VTK_SHORT, operation, destProcessId);
1024 Operation* operation,
int destProcessId)
1026 return this->ReduceVoidArray(
1032 return this->ReduceVoidArray(
1033 sendBuffer, recvBuffer, length,
VTK_LONG, operation, destProcessId);
1036 Operation* operation,
int destProcessId)
1038 return this->ReduceVoidArray(
1042 Operation* operation,
int destProcessId)
1044 return this->ReduceVoidArray(
1050 return this->ReduceVoidArray(
1051 sendBuffer, recvBuffer, length,
VTK_CHAR, operation, destProcessId);
1054 Operation* operation,
int destProcessId)
1056 return this->ReduceVoidArray(
1057 sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, operation, destProcessId);
1062 return this->ReduceVoidArray(
1063 sendBuffer, recvBuffer, length,
VTK_FLOAT, operation, destProcessId);
1068 return this->ReduceVoidArray(
1069 sendBuffer, recvBuffer, length,
VTK_DOUBLE, operation, destProcessId);
1072 Operation* operation,
int destProcessId)
1074 return this->ReduceVoidArray(
1075 sendBuffer, recvBuffer, length,
VTK_LONG_LONG, operation, destProcessId);
1078 Operation* operation,
int destProcessId)
1080 return this->ReduceVoidArray(
1093 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, operation);
1096 const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType length,
int operation)
1098 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, operation);
1102 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT, operation);
1105 const unsigned short* sendBuffer,
unsigned short* recvBuffer,
vtkIdType length,
int operation)
1107 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_SHORT, operation);
1111 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG, operation);
1114 const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType length,
int operation)
1116 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_LONG, operation);
1119 const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType length,
int operation)
1121 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_CHAR, operation);
1125 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR, operation);
1128 const signed char* sendBuffer,
signed char* recvBuffer,
vtkIdType length,
int operation)
1130 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, operation);
1134 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT, operation);
1138 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE, operation);
1142 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG_LONG, operation);
1144 int AllReduce(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
1147 return this->AllReduceVoidArray(
1153 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_INT, operation);
1158 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_INT, operation);
1162 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_SHORT, operation);
1167 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_SHORT, operation);
1171 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG, operation);
1176 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_LONG, operation);
1181 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_UNSIGNED_CHAR, operation);
1185 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_CHAR, operation);
1190 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_SIGNED_CHAR, operation);
1194 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_FLOAT, operation);
1199 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_DOUBLE, operation);
1204 return this->AllReduceVoidArray(sendBuffer, recvBuffer, length,
VTK_LONG_LONG, operation);
1206 int AllReduce(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
1209 return this->AllReduceVoidArray(
1221 virtual int GatherVoidArray(
1223 virtual int GatherVVoidArray(
const void* sendBuffer,
void* recvBuffer,
vtkIdType sendLength,
1225 virtual int ScatterVoidArray(
1227 virtual int ScatterVVoidArray(
const void* sendBuffer,
void* recvBuffer,
vtkIdType* sendLengths,
1229 virtual int AllGatherVoidArray(
1231 virtual int AllGatherVVoidArray(
const void* sendBuffer,
void* recvBuffer,
vtkIdType sendLength,
1233 virtual int ReduceVoidArray(
const void* sendBuffer,
void* recvBuffer,
vtkIdType length,
int type,
1234 int operation,
int destProcessId);
1235 virtual int ReduceVoidArray(
const void* sendBuffer,
void* recvBuffer,
vtkIdType length,
int type,
1236 Operation* operation,
int destProcessId);
1237 virtual int AllReduceVoidArray(
1239 virtual int AllReduceVoidArray(
1240 const void* sendBuffer,
void* recvBuffer,
vtkIdType length,
int type, Operation* operation);
1262 virtual int Probe(
int vtkNotUsed(
source),
int vtkNotUsed(tag),
int* vtkNotUsed(actualSource))
1264 vtkErrorMacro(
"Probe not implemented for this controller.");
1268 static void SetUseCopy(
int useCopy);
1281 virtual int ComputeGlobalBounds(
int processorId,
int numProcesses,
vtkBoundingBox* bounds,
1282 int* rightHasBounds =
nullptr,
int* leftHasBounds =
nullptr,
int hasBoundsTag = 288402,
1283 int localBoundsTag = 288403,
int globalBoundsTag = 288404);
1291 static int GetParentProcessor(
int pid);
1292 static int GetLeftChildProcessor(
int pid);
1333 int GatherVElementalDataObject(
1362 VTK_ABI_NAMESPACE_END
1363 #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.
virtual bool CanProbe()
Check if this communicator implements a probe operation.
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.
virtual int Probe(int vtkNotUsed(source), int vtkNotUsed(tag), int *vtkNotUsed(actualSource))
Blocking test for checking for a message tagged with tag from source process (if source == ANY_SOURCE...
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.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
int ScatterV(const long long *sendBuffer, long long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int AllReduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int Scatter(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int Broadcast(long long *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int Reduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int Broadcast(short *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int Scatter(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int AllGatherV(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int AllGather(const int *sendBuffer, int *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int Broadcast(double *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int AllReduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Reduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int Send(const long *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Receive(float *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int Send(const long long *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Scatter(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int Send(const unsigned char *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
#define VTK_UNSIGNED_CHAR
int ScatterV(const float *sendBuffer, float *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int Gather(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int AllReduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Reduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int Gather(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int AllGather(const short *sendBuffer, short *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int AllGather(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
Composite dataset that organizes datasets into blocks.
int AllReduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int AllGatherV(const long *sendBuffer, long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int Receive(int *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int Reduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int Receive(unsigned long long *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int Reduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int GatherV(const float *sendBuffer, float *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int Reduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int Broadcast(unsigned char *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
#define VTK_UNSIGNED_LONG
int Receive(unsigned long *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int Broadcast(int *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int GatherV(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int Reduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int AllGather(const char *sendBuffer, char *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int Reduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
Used to send/receive messages in a multiprocess environment.
int Reduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int AllGatherV(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
Same as GatherV except that the result is placed in all processes.
int Scatter(const int *sendBuffer, int *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
general representation of visualization data
int GatherV(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int AllReduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Send(const char *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
int Reduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int AllReduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int ScatterV(const long *sendBuffer, long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
#define VTK_UNSIGNED_LONG_LONG
int AllReduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int Receive(unsigned short *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
int AllReduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, int operation)
Same as Reduce except that the result is placed in all of the processes.
int Scatter(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int Broadcast(unsigned int *data, vtkIdType length, int srcProcessId)
Broadcast sends the array in the process with id srcProcessId to all of the other processes...
int Reduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
Fast, simple class for representing and operating on 3D bounds.
int AllReduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, Operation *operation)
Same as Reduce except that the result is placed in all of the processes.
int Reduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int GatherV(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int Gather(const long *sendBuffer, long *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.