|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   32 #ifndef vtkCommunicator_h 
   33 #define vtkCommunicator_h 
   36 #include "vtkParallelCoreModule.h"  
   63   virtual void SetNumberOfProcesses(
int num);
 
   64   vtkGetMacro(NumberOfProcesses, 
int);
 
   71   vtkGetMacro(LocalProcessId, 
int);
 
  116     virtual void Function(
const void* A, 
void* B, 
vtkIdType length, 
int datatype) = 0;
 
  122     virtual int Commutative() = 0;
 
  147   virtual int SendVoidArray(
 
  238   virtual int ReceiveVoidArray(
 
  247     return this->ReceiveVoidArray(
data, maxlength, 
VTK_INT, remoteHandle, tag);
 
  251     return this->ReceiveVoidArray(
data, maxlength, 
VTK_INT, remoteHandle, tag);
 
  255     return this->ReceiveVoidArray(
data, maxlength, 
VTK_SHORT, remoteHandle, tag);
 
  263     return this->ReceiveVoidArray(
data, maxlength, 
VTK_LONG, remoteHandle, tag);
 
  275     return this->ReceiveVoidArray(
data, maxlength, 
VTK_CHAR, remoteHandle, tag);
 
  283     return this->ReceiveVoidArray(
data, maxlength, 
VTK_FLOAT, remoteHandle, tag);
 
  287     return this->ReceiveVoidArray(
data, maxlength, 
VTK_DOUBLE, remoteHandle, tag);
 
  291     return this->ReceiveVoidArray(
data, maxlength, 
VTK_LONG_LONG, remoteHandle, tag);
 
  319   virtual void Barrier();
 
  397     return this->GatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_INT, destProcessId);
 
  400     const unsigned int* sendBuffer, 
unsigned int* recvBuffer, 
vtkIdType length, 
int destProcessId)
 
  406     return this->GatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_SHORT, destProcessId);
 
  415     return this->GatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_LONG, destProcessId);
 
  418     const unsigned long* sendBuffer, 
unsigned long* recvBuffer, 
vtkIdType length, 
int destProcessId)
 
  423     const unsigned char* sendBuffer, 
unsigned char* recvBuffer, 
vtkIdType length, 
int destProcessId)
 
  429     return this->GatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_CHAR, destProcessId);
 
  432     const signed char* sendBuffer, 
signed char* recvBuffer, 
vtkIdType length, 
int destProcessId)
 
  438     return this->GatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_FLOAT, destProcessId);
 
  442     return this->GatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_DOUBLE, destProcessId);
 
  445     const long long* sendBuffer, 
long long* recvBuffer, 
vtkIdType length, 
int destProcessId)
 
  447     return this->GatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_LONG_LONG, destProcessId);
 
  452     return this->GatherVoidArray(
 
  483     std::vector<vtkMultiProcessStream>& recvBuffer, 
int destProcessId);
 
  500     return this->GatherVVoidArray(
 
  501       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_INT, destProcessId);
 
  503   int GatherV(
const unsigned int* sendBuffer, 
unsigned int* recvBuffer, 
vtkIdType sendLength,
 
  506     return this->GatherVVoidArray(
 
  507       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_UNSIGNED_INT, destProcessId);
 
  512     return this->GatherVVoidArray(
 
  513       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_SHORT, destProcessId);
 
  515   int GatherV(
const unsigned short* sendBuffer, 
unsigned short* recvBuffer, 
vtkIdType sendLength,
 
  518     return this->GatherVVoidArray(
 
  519       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_UNSIGNED_SHORT, destProcessId);
 
  524     return this->GatherVVoidArray(
 
  525       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_LONG, destProcessId);
 
  527   int GatherV(
const unsigned long* sendBuffer, 
unsigned long* recvBuffer, 
vtkIdType sendLength,
 
  530     return this->GatherVVoidArray(
 
  531       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_UNSIGNED_LONG, destProcessId);
 
  533   int GatherV(
const unsigned char* sendBuffer, 
unsigned char* recvBuffer, 
vtkIdType sendLength,
 
  536     return this->GatherVVoidArray(
 
  537       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_UNSIGNED_CHAR, destProcessId);
 
  542     return this->GatherVVoidArray(
 
  543       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_CHAR, destProcessId);
 
  548     return this->GatherVVoidArray(
 
  549       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_SIGNED_CHAR, destProcessId);
 
  554     return this->GatherVVoidArray(
 
  555       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_FLOAT, destProcessId);
 
  560     return this->GatherVVoidArray(
 
  561       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_DOUBLE, destProcessId);
 
  566     return this->GatherVVoidArray(
 
  567       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_LONG_LONG, destProcessId);
 
  569   int GatherV(
const unsigned long long* sendBuffer, 
unsigned long long* recvBuffer,
 
  572     return this->GatherVVoidArray(sendBuffer, recvBuffer, sendLength, recvLengths, offsets,
 
  613     return this->ScatterVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_INT, srcProcessId);
 
  616     const unsigned int* sendBuffer, 
unsigned int* recvBuffer, 
vtkIdType length, 
int srcProcessId)
 
  622     return this->ScatterVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_SHORT, srcProcessId);
 
  631     return this->ScatterVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_INT, srcProcessId);
 
  634     const unsigned long* sendBuffer, 
unsigned long* recvBuffer, 
vtkIdType length, 
int srcProcessId)
 
  639     const unsigned char* sendBuffer, 
unsigned char* recvBuffer, 
vtkIdType length, 
int srcProcessId)
 
  645     return this->ScatterVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_CHAR, srcProcessId);
 
  648     const signed char* sendBuffer, 
signed char* recvBuffer, 
vtkIdType length, 
int srcProcessId)
 
  654     return this->ScatterVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_FLOAT, srcProcessId);
 
  658     return this->ScatterVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_DOUBLE, srcProcessId);
 
  661     const long long* sendBuffer, 
long long* recvBuffer, 
vtkIdType length, 
int srcProcessId)
 
  663     return this->ScatterVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_LONG_LONG, srcProcessId);
 
  665   int Scatter(
const unsigned long long* sendBuffer, 
unsigned long long* recvBuffer,
 
  668     return this->ScatterVoidArray(
 
  685     return this->ScatterVVoidArray(
 
  686       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_INT, srcProcessId);
 
  691     return this->ScatterVVoidArray(
 
  692       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_UNSIGNED_INT, srcProcessId);
 
  697     return this->ScatterVVoidArray(
 
  698       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_SHORT, srcProcessId);
 
  700   int ScatterV(
const unsigned short* sendBuffer, 
unsigned short* recvBuffer, 
vtkIdType* sendLengths,
 
  703     return this->ScatterVVoidArray(
 
  704       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_UNSIGNED_SHORT, srcProcessId);
 
  709     return this->ScatterVVoidArray(
 
  710       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_LONG, srcProcessId);
 
  712   int ScatterV(
const unsigned long* sendBuffer, 
unsigned long* recvBuffer, 
vtkIdType* sendLengths,
 
  715     return this->ScatterVVoidArray(
 
  716       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_UNSIGNED_LONG, srcProcessId);
 
  718   int ScatterV(
const unsigned char* sendBuffer, 
unsigned char* recvBuffer, 
vtkIdType* sendLengths,
 
  721     return this->ScatterVVoidArray(
 
  722       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_UNSIGNED_CHAR, srcProcessId);
 
  727     return this->ScatterVVoidArray(
 
  728       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_CHAR, srcProcessId);
 
  733     return this->ScatterVVoidArray(
 
  734       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_SIGNED_CHAR, srcProcessId);
 
  739     return this->ScatterVVoidArray(
 
  740       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_FLOAT, srcProcessId);
 
  745     return this->ScatterVVoidArray(
 
  746       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_DOUBLE, srcProcessId);
 
  751     return this->ScatterVVoidArray(
 
  752       sendBuffer, recvBuffer, sendLengths, offsets, recvLength, 
VTK_LONG_LONG, srcProcessId);
 
  754   int ScatterV(
const unsigned long long* sendBuffer, 
unsigned long long* recvBuffer,
 
  757     return this->ScatterVVoidArray(sendBuffer, recvBuffer, sendLengths, offsets, recvLength,
 
  768     return this->AllGatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_INT);
 
  776     return this->AllGatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_SHORT);
 
  784     return this->AllGatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_LONG);
 
  796     return this->AllGatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_CHAR);
 
  804     return this->AllGatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_FLOAT);
 
  808     return this->AllGatherVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_DOUBLE);
 
  815     const unsigned long long* sendBuffer, 
unsigned long long* recvBuffer, 
vtkIdType length)
 
  829     return this->AllGatherVVoidArray(
 
  830       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_INT);
 
  835     return this->AllGatherVVoidArray(
 
  836       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_UNSIGNED_INT);
 
  841     return this->AllGatherVVoidArray(
 
  842       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_SHORT);
 
  847     return this->AllGatherVVoidArray(
 
  853     return this->AllGatherVVoidArray(
 
  854       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_LONG);
 
  859     return this->AllGatherVVoidArray(
 
  865     return this->AllGatherVVoidArray(
 
  871     return this->AllGatherVVoidArray(
 
  872       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_CHAR);
 
  877     return this->AllGatherVVoidArray(
 
  883     return this->AllGatherVVoidArray(
 
  884       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_FLOAT);
 
  889     return this->AllGatherVVoidArray(
 
  890       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_DOUBLE);
 
  895     return this->AllGatherVVoidArray(
 
  896       sendBuffer, recvBuffer, sendLength, recvLengths, offsets, 
VTK_LONG_LONG);
 
  898   int AllGatherV(
const unsigned long long* sendBuffer, 
unsigned long long* recvBuffer,
 
  901     return this->AllGatherVVoidArray(
 
  916     const int* sendBuffer, 
int* recvBuffer, 
vtkIdType length, 
int operation, 
int destProcessId)
 
  918     return this->ReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_INT, operation, destProcessId);
 
  921     int operation, 
int destProcessId)
 
  923     return this->ReduceVoidArray(
 
  927     const short* sendBuffer, 
short* recvBuffer, 
vtkIdType length, 
int operation, 
int destProcessId)
 
  929     return this->ReduceVoidArray(
 
  933     int operation, 
int destProcessId)
 
  935     return this->ReduceVoidArray(
 
  939     const long* sendBuffer, 
long* recvBuffer, 
vtkIdType length, 
int operation, 
int destProcessId)
 
  941     return this->ReduceVoidArray(
 
  942       sendBuffer, recvBuffer, 
length, 
VTK_LONG, operation, destProcessId);
 
  945     int operation, 
int destProcessId)
 
  947     return this->ReduceVoidArray(
 
  951     int operation, 
int destProcessId)
 
  953     return this->ReduceVoidArray(
 
  957     const char* sendBuffer, 
char* recvBuffer, 
vtkIdType length, 
int operation, 
int destProcessId)
 
  959     return this->ReduceVoidArray(
 
  960       sendBuffer, recvBuffer, 
length, 
VTK_CHAR, operation, destProcessId);
 
  963     int operation, 
int destProcessId)
 
  965     return this->ReduceVoidArray(
 
  969     const float* sendBuffer, 
float* recvBuffer, 
vtkIdType length, 
int operation, 
int destProcessId)
 
  971     return this->ReduceVoidArray(
 
  977     return this->ReduceVoidArray(
 
  983     return this->ReduceVoidArray(
 
  987     int operation, 
int destProcessId)
 
  989     return this->ReduceVoidArray(
 
 1003     return this->ReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_INT, operation, destProcessId);
 
 1006     Operation* operation, 
int destProcessId)
 
 1008     return this->ReduceVoidArray(
 
 1014     return this->ReduceVoidArray(
 
 1018     Operation* operation, 
int destProcessId)
 
 1020     return this->ReduceVoidArray(
 
 1026     return this->ReduceVoidArray(
 
 1027       sendBuffer, recvBuffer, 
length, 
VTK_LONG, operation, destProcessId);
 
 1030     Operation* operation, 
int destProcessId)
 
 1032     return this->ReduceVoidArray(
 
 1036     Operation* operation, 
int destProcessId)
 
 1038     return this->ReduceVoidArray(
 
 1044     return this->ReduceVoidArray(
 
 1045       sendBuffer, recvBuffer, 
length, 
VTK_CHAR, operation, destProcessId);
 
 1048     Operation* operation, 
int destProcessId)
 
 1050     return this->ReduceVoidArray(
 
 1056     return this->ReduceVoidArray(
 
 1062     return this->ReduceVoidArray(
 
 1066     Operation* operation, 
int destProcessId)
 
 1068     return this->ReduceVoidArray(
 
 1072     Operation* operation, 
int destProcessId)
 
 1074     return this->ReduceVoidArray(
 
 1087     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_INT, operation);
 
 1090     const unsigned int* sendBuffer, 
unsigned int* recvBuffer, 
vtkIdType length, 
int operation)
 
 1096     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_SHORT, operation);
 
 1099     const unsigned short* sendBuffer, 
unsigned short* recvBuffer, 
vtkIdType length, 
int operation)
 
 1105     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_LONG, operation);
 
 1108     const unsigned long* sendBuffer, 
unsigned long* recvBuffer, 
vtkIdType length, 
int operation)
 
 1113     const unsigned char* sendBuffer, 
unsigned char* recvBuffer, 
vtkIdType length, 
int operation)
 
 1119     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_CHAR, operation);
 
 1122     const signed char* sendBuffer, 
signed char* recvBuffer, 
vtkIdType length, 
int operation)
 
 1128     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_FLOAT, operation);
 
 1132     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_DOUBLE, operation);
 
 1136     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_LONG_LONG, operation);
 
 1138   int AllReduce(
const unsigned long long* sendBuffer, 
unsigned long long* recvBuffer,
 
 1141     return this->AllReduceVoidArray(
 
 1147     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_INT, operation);
 
 1156     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_SHORT, operation);
 
 1165     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_LONG, operation);
 
 1179     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_CHAR, operation);
 
 1188     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_FLOAT, operation);
 
 1193     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_DOUBLE, operation);
 
 1198     return this->AllReduceVoidArray(sendBuffer, recvBuffer, 
length, 
VTK_LONG_LONG, operation);
 
 1200   int AllReduce(
const unsigned long long* sendBuffer, 
unsigned long long* recvBuffer,
 
 1203     return this->AllReduceVoidArray(
 
 1215   virtual int GatherVoidArray(
 
 1217   virtual int GatherVVoidArray(
const void* sendBuffer, 
void* recvBuffer, 
vtkIdType sendLength,
 
 1219   virtual int ScatterVoidArray(
 
 1221   virtual int ScatterVVoidArray(
const void* sendBuffer, 
void* recvBuffer, 
vtkIdType* sendLengths,
 
 1223   virtual int AllGatherVoidArray(
 
 1225   virtual int AllGatherVVoidArray(
const void* sendBuffer, 
void* recvBuffer, 
vtkIdType sendLength,
 
 1227   virtual int ReduceVoidArray(
const void* sendBuffer, 
void* recvBuffer, 
vtkIdType length, 
int type,
 
 1228     int operation, 
int destProcessId);
 
 1229   virtual int ReduceVoidArray(
const void* sendBuffer, 
void* recvBuffer, 
vtkIdType length, 
int type,
 
 1230     Operation* operation, 
int destProcessId);
 
 1231   virtual int AllReduceVoidArray(
 
 1233   virtual int AllReduceVoidArray(
 
 1234     const void* sendBuffer, 
void* recvBuffer, 
vtkIdType length, 
int type, Operation* operation);
 
 1237   static void SetUseCopy(
int useCopy);
 
 1250   virtual int ComputeGlobalBounds(
int processorId, 
int numProcesses, 
vtkBoundingBox* bounds,
 
 1251     int* rightHasBounds = 
nullptr, 
int* leftHasBounds = 
nullptr, 
int hasBoundsTag = 288402,
 
 1252     int localBoundsTag = 288403, 
int globalBoundsTag = 288404);
 
 1260   static int GetParentProcessor(
int pid);
 
 1261   static int GetLeftChildProcessor(
int pid);
 
 1302   int GatherVElementalDataObject(
 
 1324 #endif // vtkCommunicator_h 
  
int Receive(unsigned short *data, vtkIdType maxlength, int remoteHandle, int tag)
int AllGatherV(const char *sendBuffer, char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int Send(const long *data, vtkIdType length, int remoteHandle, int tag)
int Scatter(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int srcProcessId)
int GatherV(const short *sendBuffer, short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int AllGather(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length)
int Reduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int AllReduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, int operation)
int Receive(unsigned char *data, vtkIdType maxlength, int remoteHandle, int tag)
int Gather(const short *sendBuffer, short *recvBuffer, vtkIdType length, int destProcessId)
int Reduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, int operation, int destProcessId)
Reduce an array to the given destination process.
int Reduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int Receive(double *data, vtkIdType maxlength, int remoteHandle, int tag)
int Receive(int *data, vtkIdType maxlength, int remoteHandle, int tag)
Convenience methods for receiving data arrays.
#define VTK_UNSIGNED_LONG_LONG
int Gather(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, 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 Gather(const int *sendBuffer, int *recvBuffer, vtkIdType length, int destProcessId)
Gather collects arrays in the process with id destProcessId.
int Reduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int operation, int destProcessId)
int AllReduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, Operation *operation)
int AllReduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int operation)
Used to send/receive messages in a multiprocess environment.
int Reduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int operation, int destProcessId)
int Broadcast(unsigned char *data, vtkIdType length, int srcProcessId)
int Gather(const double *sendBuffer, double *recvBuffer, vtkIdType length, int destProcessId)
int Reduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int operation, int destProcessId)
int ScatterV(const long long *sendBuffer, long long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int AllGather(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length)
A custom operation to use in a reduce command.
int AllReduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, Operation *operation)
int AllGatherV(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
stream used to pass data across processes using vtkMultiProcessController.
int AllGatherV(const float *sendBuffer, float *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int AllReduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int operation)
#define VTK_UNSIGNED_SHORT
int Receive(char *data, vtkIdType maxlength, int remoteHandle, int tag)
int Reduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int Receive(signed char *data, vtkIdType maxlength, int remoteHandle, int tag)
int Reduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int ScatterV(const float *sendBuffer, float *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int AllReduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, Operation *operation)
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.
abstract base class for most VTK objects
int AllReduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, Operation *operation)
int AllReduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, int operation)
int Gather(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, int destProcessId)
int Reduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, int operation, int destProcessId)
int Scatter(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int srcProcessId)
int AllReduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, int operation)
int MaximumNumberOfProcesses
int Reduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int operation, int destProcessId)
abstract superclass for arrays of numeric data
int ScatterV(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int Receive(unsigned long long *data, vtkIdType maxlength, int remoteHandle, int tag)
int Scatter(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int srcProcessId)
int AllGatherV(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int ScatterV(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int AllGather(const float *sendBuffer, float *recvBuffer, vtkIdType length)
int GatherV(const double *sendBuffer, double *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Send(const unsigned long *data, vtkIdType length, int remoteHandle, int tag)
int Scatter(const short *sendBuffer, short *recvBuffer, vtkIdType length, int srcProcessId)
Composite dataset that organizes datasets into blocks.
int ScatterV(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int GatherV(const long long *sendBuffer, long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int AllGather(const long *sendBuffer, long *recvBuffer, vtkIdType length)
int Receive(unsigned long *data, vtkIdType maxlength, int remoteHandle, int tag)
int AllReduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, Operation *operation)
int GatherV(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int AllGatherV(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int AllGather(const char *sendBuffer, char *recvBuffer, vtkIdType length)
int Reduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int Send(const short *data, vtkIdType length, int remoteHandle, int tag)
int ScatterV(const double *sendBuffer, double *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int Broadcast(double *data, vtkIdType length, int srcProcessId)
int Reduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int Send(const unsigned int *data, vtkIdType length, int remoteHandle, int tag)
int Send(const unsigned long long *data, vtkIdType length, int remoteHandle, int tag)
Fast, simple class for dealing with 3D bounds.
dynamic, self-adjusting array of char
int GatherV(const char *sendBuffer, char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Send(const char *data, vtkIdType length, int remoteHandle, int tag)
int Gather(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int destProcessId)
int Scatter(const double *sendBuffer, double *recvBuffer, vtkIdType length, int srcProcessId)
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 ScatterV(const char *sendBuffer, char *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int Receive(long long *data, vtkIdType maxlength, int remoteHandle, int tag)
int Receive(float *data, vtkIdType maxlength, int remoteHandle, int tag)
int Send(const long long *data, vtkIdType length, int remoteHandle, int tag)
int Scatter(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int srcProcessId)
int AllGather(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length)
int AllGatherV(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int AllGather(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length)
int AllReduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, int operation)
int Reduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int operation, int destProcessId)
int AllReduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, int operation)
int GatherV(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Broadcast(unsigned short *data, vtkIdType length, int srcProcessId)
int ScatterV(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int Reduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, int operation, int destProcessId)
int AllGather(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length)
int Scatter(const long *sendBuffer, long *recvBuffer, vtkIdType length, int srcProcessId)
int Send(const float *data, vtkIdType length, int remoteHandle, int tag)
int AllGatherV(const long *sendBuffer, long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int AllGatherV(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int AllReduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, Operation *operation)
int Reduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int operation, int destProcessId)
topologically and geometrically regular array of data
a simple class to control print indentation
int GatherV(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int AllReduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, Operation *operation)
int Receive(short *data, vtkIdType maxlength, int remoteHandle, int tag)
int Reduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
Reduce an array to the given destination process.
int Send(const int *data, vtkIdType length, int remoteHandle, int tag)
Convenience methods for sending data arrays.
#define VTK_UNSIGNED_CHAR
int GatherV(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int ScatterV(const long *sendBuffer, long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int Reduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int AllGather(const int *sendBuffer, int *recvBuffer, vtkIdType length)
Same as gather except that the result ends up on all processes.
int AllGather(const long long *sendBuffer, long long *recvBuffer, vtkIdType length)
int AllGather(const double *sendBuffer, double *recvBuffer, vtkIdType length)
int Gather(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int destProcessId)
int Gather(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int destProcessId)
int Gather(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int destProcessId)
int Reduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int Broadcast(unsigned long long *data, vtkIdType length, int srcProcessId)
abstract class to specify dataset behavior
int Broadcast(unsigned int *data, vtkIdType length, int srcProcessId)
#define VTK_UNSIGNED_LONG
int Reduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int ScatterV(const int *sendBuffer, int *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
ScatterV is the vector variant of Scatter.
int AllGather(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length)
int Scatter(const float *sendBuffer, float *recvBuffer, vtkIdType length, int srcProcessId)
int Scatter(const char *sendBuffer, char *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 Gather(const long *sendBuffer, long *recvBuffer, vtkIdType length, int destProcessId)
dynamic, self-adjusting array of vtkIdType
int Send(const unsigned short *data, vtkIdType length, int remoteHandle, int tag)
int Reduce(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int Broadcast(short *data, vtkIdType length, int srcProcessId)
int GatherV(const float *sendBuffer, float *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int AllGatherV(const short *sendBuffer, short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int AllReduce(const int *sendBuffer, int *recvBuffer, vtkIdType length, Operation *operation)
int Send(const signed char *data, vtkIdType length, int remoteHandle, int tag)
int Receive(long *data, vtkIdType maxlength, int remoteHandle, int tag)
int AllReduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int operation)
int GatherV(const long *sendBuffer, long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Send(const unsigned char *data, vtkIdType length, int remoteHandle, int tag)
int Reduce(const long *sendBuffer, long *recvBuffer, vtkIdType length, int operation, int destProcessId)
int AllReduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, Operation *operation)
int Reduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, int operation, int destProcessId)
int AllReduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int operation)
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 Broadcast(char *data, vtkIdType length, int srcProcessId)
int AllGather(const short *sendBuffer, short *recvBuffer, vtkIdType length)
int Gather(const char *sendBuffer, char *recvBuffer, vtkIdType length, int destProcessId)
int AllGatherV(const double *sendBuffer, double *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int AllReduce(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int operation)
int AllReduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, Operation *operation)
int Reduce(const float *sendBuffer, float *recvBuffer, vtkIdType length, int operation, int destProcessId)
int Gather(const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int destProcessId)
int ScatterV(const short *sendBuffer, short *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int Send(const double *data, vtkIdType length, int remoteHandle, int tag)
int Reduce(const double *sendBuffer, double *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int AllReduce(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, Operation *operation)
int GatherV(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int AllGatherV(const long long *sendBuffer, long long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
general representation of visualization data
int AllReduce(const short *sendBuffer, short *recvBuffer, vtkIdType length, Operation *operation)
int ScatterV(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId)
int Reduce(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int operation, int destProcessId)
int Gather(const float *sendBuffer, float *recvBuffer, vtkIdType length, int destProcessId)
int AllReduce(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int operation)
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 Broadcast(long *data, vtkIdType length, int srcProcessId)
int Reduce(const char *sendBuffer, char *recvBuffer, vtkIdType length, Operation *operation, int destProcessId)
int Receive(unsigned int *data, vtkIdType maxlength, int remoteHandle, int tag)
int Scatter(const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int srcProcessId)
int Broadcast(signed char *data, vtkIdType length, int srcProcessId)
int Broadcast(float *data, vtkIdType length, int srcProcessId)
int Scatter(const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int srcProcessId)
int AllReduce(const unsigned long long *sendBuffer, unsigned long long *recvBuffer, vtkIdType length, Operation *operation)
int AllGatherV(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets)
int GatherV(const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId)
int Broadcast(long long *data, vtkIdType length, int srcProcessId)
int Scatter(const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int srcProcessId)
int AllReduce(const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int operation)