49 #ifndef vtkMultiProcessController_h
50 #define vtkMultiProcessController_h
53 #include "vtkParallelCoreModule.h"
73 void* localArg,
void* remoteArg,
int remoteArgLength,
int remoteProcessId);
86 virtual void Initialize(
int* vtkNotUsed(argc),
char*** vtkNotUsed(argv)) = 0;
94 int* vtkNotUsed(argc),
char*** vtkNotUsed(argv),
int initializedExternally) = 0;
108 virtual void Finalize(
int finalizedExternally) = 0;
237 vtkErrorMacro(
"RemoveRMI Not Implemented Yet");
262 void TriggerRMI(
int remoteProcessId,
void* arg,
int argLength,
int tag);
273 void TriggerRMI(
int remoteProcessId,
const char* arg,
int tag)
275 this->TriggerRMI(remoteProcessId, (
void*)arg,
static_cast<int>(strlen(arg)) + 1, tag);
283 this->TriggerRMI(remoteProcessId,
nullptr, 0, tag);
298 this->TriggerRMIOnAllChildren((
void*)arg,
static_cast<int>(strlen(arg)) + 1, tag);
327 vtkSetMacro(BreakFlag,
int);
328 vtkGetMacro(BreakFlag,
int);
337 vtkSetMacro(BroadcastTriggerRMI,
bool);
338 vtkGetMacro(BroadcastTriggerRMI,
bool);
339 vtkBooleanMacro(BroadcastTriggerRMI,
bool);
375 XML_WRITER_DATA_INFO = 4
431 int Receive(
int*
data,
vtkIdType maxlength,
int remoteProcessId,
int tag);
432 int Receive(
unsigned int*
data,
vtkIdType maxlength,
int remoteProcessId,
int tag);
433 int Receive(
short*
data,
vtkIdType maxlength,
int remoteProcessId,
int tag);
434 int Receive(
unsigned short*
data,
vtkIdType maxlength,
int remoteProcessId,
int tag);
435 int Receive(
long*
data,
vtkIdType maxlength,
int remoteProcessId,
int tag);
436 int Receive(
unsigned long*
data,
vtkIdType maxlength,
int remoteProcessId,
int tag);
437 int Receive(
char*
data,
vtkIdType maxlength,
int remoteProcessId,
int tag);
438 int Receive(
unsigned char*
data,
vtkIdType maxlength,
int remoteProcessId,
int tag);
439 int Receive(
signed char*
data,
vtkIdType maxlength,
int remoteProcessId,
int tag);
440 int Receive(
float*
data,
vtkIdType maxlength,
int remoteProcessId,
int tag);
441 int Receive(
double*
data,
vtkIdType maxlength,
int remoteProcessId,
int tag);
442 int Receive(
long long*
data,
vtkIdType maxLength,
int remoteProcessId,
int tag);
443 int Receive(
unsigned long long*
data,
vtkIdType maxLength,
int remoteProcessId,
int tag);
475 return this->Communicator->Broadcast(
data,
length, srcProcessId);
479 return this->Communicator->Broadcast(
data,
length, srcProcessId);
483 return this->Communicator->Broadcast(
data,
length, srcProcessId);
487 return this->Communicator->Broadcast(
data,
length, srcProcessId);
491 return this->Communicator->Broadcast(
data,
length, srcProcessId);
495 return this->Communicator->Broadcast(
data,
length, srcProcessId);
499 return this->Communicator->Broadcast(
data,
length, srcProcessId);
503 return this->Communicator->Broadcast(
data,
length, srcProcessId);
507 return this->Communicator->Broadcast(
data,
length, srcProcessId);
511 return this->Communicator->Broadcast(
data,
length, srcProcessId);
515 return this->Communicator->Broadcast(
data,
length, srcProcessId);
519 return this->Communicator->Broadcast(
data,
length, srcProcessId);
523 return this->Communicator->Broadcast(
data,
length, srcProcessId);
527 return this->Communicator->Broadcast(
data, srcProcessId);
531 return this->Communicator->Broadcast(
data, srcProcessId);
537 return this->Communicator->Broadcast(stream, srcProcessId);
552 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
555 const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType length,
int destProcessId)
557 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
561 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
566 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
570 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
573 const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType length,
int destProcessId)
575 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
578 const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType length,
int destProcessId)
580 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
584 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
587 const signed char* sendBuffer,
signed char* recvBuffer,
vtkIdType length,
int destProcessId)
589 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
593 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
597 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
600 const long long* sendBuffer,
long long* recvBuffer,
vtkIdType length,
int destProcessId)
602 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
607 return this->Communicator->Gather(sendBuffer, recvBuffer,
length, destProcessId);
611 return this->Communicator->Gather(sendBuffer, recvBuffer, destProcessId);
630 return this->Communicator->Gather(sendBuffer, recvBuffer, destProcessId);
643 std::vector<vtkMultiProcessStream>& recvBuffer,
int destProcessId)
645 return this->Communicator->Gather(sendBuffer, recvBuffer, destProcessId);
663 return this->Communicator->GatherV(
664 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
666 int GatherV(
const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType sendLength,
669 return this->Communicator->GatherV(
670 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
675 return this->Communicator->GatherV(
676 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
678 int GatherV(
const unsigned short* sendBuffer,
unsigned short* recvBuffer,
vtkIdType sendLength,
681 return this->Communicator->GatherV(
682 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
687 return this->Communicator->GatherV(
688 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
690 int GatherV(
const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType sendLength,
693 return this->Communicator->GatherV(
694 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
696 int GatherV(
const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType sendLength,
699 return this->Communicator->GatherV(
700 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
705 return this->Communicator->GatherV(
706 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
711 return this->Communicator->GatherV(
712 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
717 return this->Communicator->GatherV(
718 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
723 return this->Communicator->GatherV(
724 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
729 return this->Communicator->GatherV(
730 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
732 int GatherV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
735 return this->Communicator->GatherV(
736 sendBuffer, recvBuffer, sendLength, recvLengths, offsets, destProcessId);
743 return this->Communicator->GatherV(sendBuffer, recvBuffer, recvLengths, offsets, destProcessId);
748 return this->Communicator->GatherV(sendBuffer, recvBuffer, recvLengths, offsets, destProcessId);
760 return this->Communicator->GatherV(sendBuffer, recvBuffer, destProcessId);
764 return this->Communicator->GatherV(sendData, recvData, destProcessId);
778 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
781 const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType length,
int srcProcessId)
783 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
787 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
792 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
796 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
799 const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType length,
int srcProcessId)
801 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
804 const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType length,
int srcProcessId)
806 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
810 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
813 const signed char* sendBuffer,
signed char* recvBuffer,
vtkIdType length,
int srcProcessId)
815 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
819 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
823 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
826 const long long* sendBuffer,
long long* recvBuffer,
vtkIdType length,
int srcProcessId)
828 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
830 int Scatter(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
833 return this->Communicator->Scatter(sendBuffer, recvBuffer,
length, srcProcessId);
837 return this->Communicator->Scatter(sendBuffer, recvBuffer, srcProcessId);
852 return this->Communicator->ScatterV(
853 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
858 return this->Communicator->ScatterV(
859 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
864 return this->Communicator->ScatterV(
865 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
867 int ScatterV(
const unsigned short* sendBuffer,
unsigned short* recvBuffer,
vtkIdType* sendLengths,
870 return this->Communicator->ScatterV(
871 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
876 return this->Communicator->ScatterV(
877 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
879 int ScatterV(
const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType* sendLengths,
882 return this->Communicator->ScatterV(
883 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
885 int ScatterV(
const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType* sendLengths,
888 return this->Communicator->ScatterV(
889 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
894 return this->Communicator->ScatterV(
895 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
900 return this->Communicator->ScatterV(
901 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
906 return this->Communicator->ScatterV(
907 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
912 return this->Communicator->ScatterV(
913 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
918 return this->Communicator->ScatterV(
919 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
921 int ScatterV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
924 return this->Communicator->ScatterV(
925 sendBuffer, recvBuffer, sendLengths, offsets, recvLength, srcProcessId);
935 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
939 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
943 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
947 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
951 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
955 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
959 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
963 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
967 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
971 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
975 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
979 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
982 const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
vtkIdType length)
984 return this->Communicator->AllGather(sendBuffer, recvBuffer,
length);
988 return this->Communicator->AllGather(sendBuffer, recvBuffer);
999 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1004 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1009 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1014 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1019 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1024 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1029 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1034 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1039 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1044 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1049 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1054 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1056 int AllGatherV(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
1059 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, sendLength, recvLengths, offsets);
1064 return this->Communicator->AllGatherV(sendBuffer, recvBuffer, recvLengths, offsets);
1076 return this->Communicator->AllGatherV(sendBuffer, recvBuffer);
1086 const int* sendBuffer,
int* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
1088 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1091 int operation,
int destProcessId)
1093 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1096 const short* sendBuffer,
short* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
1098 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1101 int operation,
int destProcessId)
1103 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1106 const long* sendBuffer,
long* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
1108 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1111 int operation,
int destProcessId)
1113 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1116 int operation,
int destProcessId)
1118 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1121 const char* sendBuffer,
char* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
1123 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1126 int operation,
int destProcessId)
1128 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1131 const float* sendBuffer,
float* recvBuffer,
vtkIdType length,
int operation,
int destProcessId)
1133 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1138 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1143 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1146 int operation,
int destProcessId)
1148 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1152 return this->Communicator->Reduce(sendBuffer, recvBuffer, operation, destProcessId);
1164 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1169 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1174 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1179 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1184 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1189 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1194 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1199 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1204 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1209 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1214 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1219 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1224 return this->Communicator->Reduce(sendBuffer, recvBuffer,
length, operation, destProcessId);
1229 return this->Communicator->Reduce(sendBuffer, recvBuffer, operation, destProcessId);
1239 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1242 const unsigned int* sendBuffer,
unsigned int* recvBuffer,
vtkIdType length,
int operation)
1244 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1248 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1251 const unsigned short* sendBuffer,
unsigned short* recvBuffer,
vtkIdType length,
int operation)
1253 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1257 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1260 const unsigned long* sendBuffer,
unsigned long* recvBuffer,
vtkIdType length,
int operation)
1262 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1265 const unsigned char* sendBuffer,
unsigned char* recvBuffer,
vtkIdType length,
int operation)
1267 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1271 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1274 const signed char* sendBuffer,
signed char* recvBuffer,
vtkIdType length,
int operation)
1276 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1280 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1284 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1288 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1290 int AllReduce(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
1293 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1297 return this->Communicator->AllReduce(sendBuffer, recvBuffer, operation);
1304 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1309 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1314 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1319 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1324 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1329 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1334 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1339 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1344 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1349 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1354 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1359 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1361 int AllReduce(
const unsigned long long* sendBuffer,
unsigned long long* recvBuffer,
1364 return this->Communicator->AllReduce(sendBuffer, recvBuffer,
length, operation);
1369 return this->Communicator->AllReduce(sendBuffer, recvBuffer, operation);
1392 int remoteProcessId,
void* arg,
int argLength,
int rmiTag,
bool propagate);
1403 void ProcessRMI(
int remoteProcessId,
void* arg,
int argLength,
int rmiTag);
1437 unsigned long RMICount;
1440 vtkInternal* Internal;
Fast, simple class for dealing with 3D bounds.
create and manipulate ordered lists of objects
A custom operation to use in a reduce command.
Used to send/receive messages in a multiprocess environment.
virtual void Barrier()
Will block the processes until all other processes reach the Barrier function.
int Send(vtkDataObject *data, int remoteHandle, int tag)
This method sends a data object to a destination.
int Receive(vtkDataObject *data, int remoteHandle, int tag)
This method receives a data object from a corresponding send.
virtual vtkIdType GetCount()
Returns the number of words received by the most recent Receive().
vtkDataObject * ReceiveDataObject(int remoteHandle, int tag)
The caller does not have to know the data type before this call is made.
abstract superclass for arrays of numeric data
general representation of visualization data
abstract class to specify dataset behavior
dynamic, self-adjusting array of vtkIdType
topologically and geometrically regular array of data
a simple class to control print indentation
Multiprocessing communication superclass.
int Gather(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int destProcessId)
void TriggerBreakRMIs()
A convenience method.
void TriggerRMI(int remoteProcessId, const char *arg, int tag)
Convenience method when the arg is a string.
vtkDataObject * ReceiveDataObject(int remoteId, int tag)
vtkIdType GetCount()
Returns the number of words received by the most recent Receive().
virtual vtkMultiProcessController * PartitionController(int localColor, int localKey)
Partitions this controller based on a coloring.
int GatherV(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Reduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
int AllGatherV(const short *sendBuffer, short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int Reduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, int operation, int destProcessId)
int Broadcast(vtkMultiProcessStream &stream, int srcProcessId)
int AllReduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
virtual vtkMultiProcessController * GetLocalController()
int Gather(const short *sendBuffer, short *recvBuffer, vtkIdType length, int destProcessId)
virtual unsigned long AddRMI(vtkRMIFunctionType, void *localArg, int tag)
Register remote method invocation in the receiving process which makes the call.
int Send(const int *data, vtkIdType length, int remoteProcessId, int tag)
This method sends data to another process.
void TriggerRMIOnAllChildren(void *arg, int argLength, int tag)
This is a convenicence method to trigger an RMI call on all the "children" of the current node.
int Broadcast(long long *data, vtkIdType length, int srcProcessId)
int GetNumberOfProcesses()
int Scatter(const short *sendBuffer, short *recvBuffer, vtkIdType length, int srcProcessId)
int AllGather(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length)
int AllGatherV(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
virtual int RemoveFirstRMI(int tag)
Remove the first RMI matching the tag.
int Gather(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int destProcessId)
int Scatter(const double *sendBuffer, double *recvBuffer, vtkIdType length, int srcProcessId)
int AllGatherV(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int GatherV(const char *sendBuffer, char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
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 Scatter(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int srcProcessId)
int Broadcast(vtkDataArray *data, int srcProcessId)
int GatherV(const long long *sendBuffer, long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Reduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
static void SetGlobalController(vtkMultiProcessController *controller)
int GatherV(const double *sendBuffer, double *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int AllReduce(const vtkBoundingBox &sendBuffer, vtkBoundingBox &recvBuffer)
int AllReduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
int Reduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
int Broadcast(vtkDataObject *data, int srcProcessId)
int Reduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
int AllGather(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length)
int AllReduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
int AllGatherV(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
virtual void RemoveRMI(vtkRMIFunctionType f, void *arg, int tag)
Take an RMI away.
int AllGather(const long long *sendBuffer, long long *recvBuffer, vtkIdType length)
int ScatterV(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int ProcessRMIs(int reportErrors, int dont_loop=0)
Calling this method gives control to the controller to start processing RMIs.
int ScatterV(const long *sendBuffer, long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int AllGather(const char *sendBuffer, char *recvBuffer, vtkIdType length)
int AllGatherV(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int AllGatherV(const char *sendBuffer, char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int Scatter(const long *sendBuffer, long *recvBuffer, vtkIdType length, int srcProcessId)
int Broadcast(short *data, vtkIdType length, int srcProcessId)
int Gather(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int destProcessId)
int Scatter(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int srcProcessId)
void SetMultipleMethod(int index, vtkProcessFunctionType, void *data)
Set the MultipleMethod to f() and the UserData of the for the method to be executed by the process in...
vtkOutputWindow * OutputWindow
virtual void TriggerRMIInternal(int remoteProcessId, void *arg, int argLength, int rmiTag, bool propagate)
Implementation for TriggerRMI() provides subclasses an opportunity to modify the behaviour eg.
int Reduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int AllGather(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length)
int AllReduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int operation)
void SetSingleProcessObject(vtkProcess *p)
Object-oriented flavor of SetSingleMethod().
int AllReduce(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, int operation)
int Scatter(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int srcProcessId)
int Gather(const float *sendBuffer, float *recvBuffer, vtkIdType length, int destProcessId)
int AllGather(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length)
virtual void RemoveAllRMICallbacks(int tag)
These methods are a part of the newer API to add multiple rmi callbacks.
int Broadcast(double *data, vtkIdType length, int srcProcessId)
int Scatter(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int srcProcessId)
int AllGatherV(const long long *sendBuffer, long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int AllGather(const float *sendBuffer, float *recvBuffer, vtkIdType length)
int Reduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, int operation, int destProcessId)
static int GetBreakRMITag()
Accessor to some default tags.
int Scatter(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, int srcProcessId)
virtual vtkMultiProcessController * CreateSubController(vtkProcessGroup *group)
Creates a new controller with the processes specified by the given group.
int AllReduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int operation)
int AllReduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
int Gather(const long *sendBuffer, long *recvBuffer, vtkIdType length, int destProcessId)
int Reduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
vtkCommunicator * RMICommunicator
int Gather(const int *sendBuffer, int *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
virtual void SingleMethodExecute()=0
Execute the SingleMethod (as define by SetSingleMethod) using this->NumberOfProcesses processes.
int GatherV(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Reduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
int AllReduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int operation)
int Broadcast(float *data, vtkIdType length, int srcProcessId)
int AllReduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int operation)
int Gather(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int destProcessId)
int ScatterV(const double *sendBuffer, double *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int AllGatherV(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int AllReduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, int operation)
int AllReduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
vtkCommunicator * Communicator
int AllGatherV(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int Broadcast(unsigned long long *data, vtkIdType length, int srcProcessId)
void BroadcastTriggerRMIOnAllChildren(void *arg, int argLength, int tag)
int Broadcast(long *data, vtkIdType length, int srcProcessId)
int AllGatherV(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer)
This special form of AllGatherV will automatically determine recvLengths and offsets to tightly pack ...
static vtkMultiProcessController * GetGlobalController()
This convenience method returns the controller associated with the local process.
void TriggerRMI(int remoteProcessId, int tag)
Convenience method when there is no argument.
int Reduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
int Gather(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int destProcessId)
virtual void Initialize(int *vtkNotUsed(argc), char ***vtkNotUsed(argv))=0
This method is for setting up the processes.
static int GetRMIArgTag()
int AllGather(const double *sendBuffer, double *recvBuffer, vtkIdType length)
int AllGather(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer)
int AllReduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int operation)
int Broadcast(unsigned int *data, vtkIdType length, int srcProcessId)
int AllReduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, int operation)
int Reduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
virtual void Initialize(int *vtkNotUsed(argc), char ***vtkNotUsed(argv), int initializedExternally)=0
This method is for setting up the processes.
void Barrier()
This method can be used to synchronize processes.
int Gather(const double *sendBuffer, double *recvBuffer, vtkIdType length, int destProcessId)
int AllReduce(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, vtkCommunicator::Operation *operation)
int Broadcast(unsigned char *data, vtkIdType length, int srcProcessId)
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 Broadcast(unsigned long *data, vtkIdType length, int srcProcessId)
int AllReduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
int AllReduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int operation)
int ScatterV(const float *sendBuffer, float *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
void TriggerRMIOnAllChildren(const char *arg, int tag)
int AllGather(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length)
~vtkMultiProcessController() override
int BroadcastProcessRMIs(int reportErrors, int dont_loop=0)
int AllReduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
int AllReduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
int ScatterV(const char *sendBuffer, char *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int ScatterV(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
virtual void Finalize(int finalizedExternally)=0
This method is for cleaning up.
int Reduce(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, int operation, int destProcessId)
int Reduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, int operation, int destProcessId)
int AllReduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
int GatherV(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Reduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int operation, int destProcessId)
int Reduce(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, vtkCommunicator::Operation *operation, int destProcessId)
int GatherV(const int *sendBuffer, int *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
GatherV is the vector variant of Gather.
int Broadcast(signed char *data, vtkIdType length, int srcProcessId)
void SetNumberOfProcesses(int num)
Set the number of processes you will be using.
int GatherV(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, vtkIdTypeArray *recvLengths, vtkIdTypeArray *offsets, int destProcessId)
virtual int RemoveRMI(unsigned long id)
Remove the RMI matching the id.
int Reduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
int AllReduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, int operation)
int GetLocalProcessId()
Tells you which process [0, NumProcess) you are in.
int AllReduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, int operation)
void ProcessRMI(int remoteProcessId, void *arg, int argLength, int rmiTag)
int ScatterV(const long long *sendBuffer, long long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int ScatterV(const short *sendBuffer, short *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int Scatter(const float *sendBuffer, float *recvBuffer, vtkIdType length, int srcProcessId)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int Reduce(const vtkBoundingBox &sendBuffer, vtkBoundingBox &recvBuffer, int destProcessId)
Convenience methods to reduce bounds.
int GatherV(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, int destProcessId)
This special form of GatherV will automatically determine recvLengths and offsets to tightly pack the...
int AllGather(const short *sendBuffer, short *recvBuffer, vtkIdType length)
int AllGatherV(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, vtkIdType *recvLengths, vtkIdType *offsets)
int Gather(const char *sendBuffer, char *recvBuffer, vtkIdType length, int destProcessId)
int Gather(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int destProcessId)
void SetSingleMethod(vtkProcessFunctionType, void *data)
Set the SingleMethod to f() and the UserData of the for the method to be executed by all of the proce...
int GatherV(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int GatherV(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Reduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int operation, int destProcessId)
void TriggerRMIOnAllChildren(int tag)
int AllGatherV(const double *sendBuffer, double *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int Gather(vtkDataObject *sendBuffer, std::vector< vtkSmartPointer< vtkDataObject > > &recvBuffer, int destProcessId)
Gathers vtkDataObject (sendBuffer) from all ranks to the destProcessId.
int Reduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int operation, int destProcessId)
int Receive(int *data, vtkIdType maxlength, int remoteProcessId, int tag)
This method receives data from a corresponding send.
int GatherV(const float *sendBuffer, float *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int GatherV(const long *sendBuffer, long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int AllReduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
virtual void MultipleMethodExecute()=0
Execute the MultipleMethods (as define by calling SetMultipleMethod for each of the required this->Nu...
int AllGatherV(const long *sendBuffer, long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int Reduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, int operation, int destProcessId)
void GetMultipleMethod(int index, vtkProcessFunctionType &func, void *&data)
int AllReduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
vtkMultiProcessController()
int Broadcast(char *data, vtkIdType length, int srcProcessId)
int AllGatherV(const float *sendBuffer, float *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int GatherV(const short *sendBuffer, short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Broadcast(unsigned short *data, vtkIdType length, int srcProcessId)
int Gather(vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, int destProcessId)
virtual unsigned long AddRMICallback(vtkRMIFunctionType, void *localArg, int tag)
These methods are a part of the newer API to add multiple rmi callbacks.
int AllReduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
int AllGather(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length)
int Gather(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int destProcessId)
int Reduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
int ScatterV(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int Scatter(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int srcProcessId)
int Reduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
vtkProcessFunctionType SingleMethod
int Scatter(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int srcProcessId)
int AllGather(const int *sendBuffer, int *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int ScatterV(const int *sendBuffer, int *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int AllReduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, int operation)
void TriggerRMI(int remoteProcessId, void *arg, int argLength, int tag)
A method to trigger a method invocation in another process.
int GatherV(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Scatter(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int srcProcessId)
int ScatterV(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int AllReduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int operation)
virtual void CreateOutputWindow()=0
This method can be used to tell the controller to create a special output window in which all message...
int GatherV(vtkDataObject *sendData, vtkSmartPointer< vtkDataObject > *recvData, int destProcessId)
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.
virtual void Finalize()=0
This method is for cleaning up.
int ScatterV(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int GatherV(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Reduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
int AllReduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation)
int Scatter(const char *sendBuffer, char *recvBuffer, vtkIdType length, int srcProcessId)
int Scatter(const int *sendBuffer, int *recvBuffer, vtkIdType length, int srcProcessId)
Scatter takes an array in the process with id srcProcessId and distributes it.
int Gather(const vtkMultiProcessStream &sendBuffer, std::vector< vtkMultiProcessStream > &recvBuffer, int destProcessId)
Gathers vtkMultiProcessStream (sendBuffer) from all ranks to the destProcessId.
int Reduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int operation, int destProcessId)
int Reduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, vtkCommunicator::Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int Reduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, int operation, int destProcessId)
int Reduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int operation, int destProcessId)
int Reduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int operation, int destProcessId)
virtual bool RemoveRMICallback(unsigned long id)
Remove a callback.
int AllGather(const long *sendBuffer, long *recvBuffer, vtkIdType length)
int Reduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int operation, int destProcessId)
int ScatterV(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
stream used to pass data across processes using vtkMultiProcessController.
abstract base class for most VTK objects
base class for writing debug output to a console
A subgroup of processes from a communicator.
a process that can be launched by a vtkMultiProcessController
void(* vtkProcessFunctionType)(vtkMultiProcessController *controller, void *userData)
void(* vtkRMIFunctionType)(void *localArg, void *remoteArg, int remoteArgLength, int remoteProcessId)