|
VTK
9.6.20260314
|
Used to send/receive messages in a multiprocess environment. More...
#include <vtkCommunicator.h>
Classes | |
| class | Operation |
| A custom operation to use in a reduce command. More... | |
Public Types | |
| enum | Tags { BROADCAST_TAG = 10 , GATHER_TAG = 11 , GATHERV_TAG = 12 , SCATTER_TAG = 13 , SCATTERV_TAG = 14 , REDUCE_TAG = 15 , BARRIER_TAG = 16 , ALL_TO_ALLV_TAG = 17 } |
| enum | StandardOperations { MAX_OP , MIN_OP , SUM_OP , PRODUCT_OP , LOGICAL_AND_OP , BITWISE_AND_OP , LOGICAL_OR_OP , BITWISE_OR_OP , LOGICAL_XOR_OP , BITWISE_XOR_OP } |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class. | |
| vtkCommunicator * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. | |
| int | Send (vtkDataObject *data, int remoteHandle, int tag) |
| This method sends a data object to a destination. | |
| int | Send (vtkDataArray *data, int remoteHandle, int tag) |
| This method sends a data array to a destination. | |
| virtual int | SendVoidArray (const void *data, vtkIdType length, int type, int remoteHandle, int tag)=0 |
| Subclasses have to supply this method to send various arrays of data. | |
| int | Send (const vtkMultiProcessStream &stream, int remoteId, int tag) |
| int | Receive (vtkDataObject *data, int remoteHandle, int tag) |
| This method receives a data object from a corresponding send. | |
| vtkDataObject * | ReceiveDataObject (int remoteHandle, int tag) |
| The caller does not have to know the data type before this call is made. | |
| int | Receive (vtkDataArray *data, int remoteHandle, int tag) |
| This method receives a data array from a corresponding send. | |
| virtual int | ReceiveVoidArray (void *data, vtkIdType maxlength, int type, int remoteHandle, int tag)=0 |
| Subclasses have to supply this method to receive various arrays of data. | |
| int | Receive (vtkMultiProcessStream &stream, int remoteId, int tag) |
| virtual int | AllToAllVVoidArray (const void *sendBuffer, const int *sendCounts, const int *sendOffsets, void *recvBuffer, const int *recvCounts, const int *recvOffsets, int type) |
| Exchange variable-sized messages between all processes. | |
| virtual void | Barrier () |
| Will block the processes until all other processes reach the Barrier function. | |
| int | Broadcast (vtkMultiProcessStream &stream, int srcProcessId) |
| int | Gather (vtkDataObject *sendBuffer, std::vector< vtkSmartPointer< vtkDataObject > > &recvBuffer, int destProcessId) |
Gathers vtkDataObject (sendBuffer) from all ranks to the destProcessId. | |
| int | Gather (const vtkMultiProcessStream &sendBuffer, std::vector< vtkMultiProcessStream > &recvBuffer, int destProcessId) |
Gathers vtkMultiProcessStream (sendBuffer) from all ranks to the destProcessId. | |
| int | GatherV (vtkDataObject *sendData, vtkSmartPointer< vtkDataObject > *recvData, int destProcessId) |
Collects data objects in the process with id destProcessId. | |
| int | AllGather (vtkDataObject *sendBuffer, std::vector< vtkSmartPointer< vtkDataObject > > &recvBuffer) |
Gathers vtkDataObject (sendBuffer) from all ranks to all raks. | |
| virtual bool | CanProbe () |
| Check if this communicator implements a probe operation. | |
| virtual int | Probe (int source, int tag, int *actualSource) |
| Blocking test for checking for a message tagged with tag from source process (if source == ANY_SOURCE check for any message). | |
| virtual int | ComputeGlobalBounds (int processorId, int numProcesses, vtkBoundingBox *bounds, int *rightHasBounds=nullptr, int *leftHasBounds=nullptr, int hasBoundsTag=288402, int localBoundsTag=288403, int globalBoundsTag=288404) |
| Determine the global bounds for a set of processes. | |
| virtual void | SetNumberOfProcesses (int num) |
| Set the number of processes you will be using. | |
| virtual int | GetNumberOfProcesses () |
| Set the number of processes you will be using. | |
| virtual int | GetLocalProcessId () |
| Tells you which process [0, NumProcess) you are in. | |
| int | Send (const int *data, vtkIdType length, int remoteHandle, int tag) |
| Convenience methods for sending data arrays. | |
| int | Send (const unsigned int *data, vtkIdType length, int remoteHandle, int tag) |
| Convenience methods for sending data arrays. | |
| int | Send (const short *data, vtkIdType length, int remoteHandle, int tag) |
| Convenience methods for sending data arrays. | |
| int | Send (const unsigned short *data, vtkIdType length, int remoteHandle, int tag) |
| Convenience methods for sending data arrays. | |
| int | Send (const long *data, vtkIdType length, int remoteHandle, int tag) |
| Convenience methods for sending data arrays. | |
| int | Send (const unsigned long *data, vtkIdType length, int remoteHandle, int tag) |
| Convenience methods for sending data arrays. | |
| int | Send (const unsigned char *data, vtkIdType length, int remoteHandle, int tag) |
| Convenience methods for sending data arrays. | |
| int | Send (const char *data, vtkIdType length, int remoteHandle, int tag) |
| Convenience methods for sending data arrays. | |
| int | Send (const signed char *data, vtkIdType length, int remoteHandle, int tag) |
| Convenience methods for sending data arrays. | |
| int | Send (const float *data, vtkIdType length, int remoteHandle, int tag) |
| Convenience methods for sending data arrays. | |
| int | Send (const double *data, vtkIdType length, int remoteHandle, int tag) |
| Convenience methods for sending data arrays. | |
| int | Send (const long long *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 | Receive (int *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 | Receive (short *data, vtkIdType maxlength, int remoteHandle, int tag) |
| Convenience methods for receiving data arrays. | |
| int | Receive (unsigned short *data, vtkIdType maxlength, int remoteHandle, int tag) |
| Convenience methods for receiving data arrays. | |
| int | Receive (long *data, vtkIdType maxlength, int remoteHandle, int tag) |
| Convenience methods for receiving data arrays. | |
| int | Receive (unsigned long *data, vtkIdType maxlength, int remoteHandle, int tag) |
| Convenience methods for receiving data arrays. | |
| int | Receive (unsigned char *data, vtkIdType maxlength, int remoteHandle, int tag) |
| Convenience methods for receiving data arrays. | |
| int | Receive (char *data, vtkIdType maxlength, int remoteHandle, int tag) |
| Convenience methods for receiving data arrays. | |
| int | Receive (signed char *data, vtkIdType maxlength, int remoteHandle, int tag) |
| Convenience methods for receiving data arrays. | |
| int | Receive (float *data, vtkIdType maxlength, int remoteHandle, int tag) |
| Convenience methods for receiving data arrays. | |
| int | Receive (double *data, vtkIdType maxlength, int remoteHandle, int tag) |
| Convenience methods for receiving data arrays. | |
| int | Receive (long long *data, vtkIdType maxlength, int remoteHandle, int tag) |
| Convenience methods for receiving data arrays. | |
| int | Receive (unsigned long long *data, vtkIdType maxlength, int remoteHandle, int tag) |
| Convenience methods for receiving data arrays. | |
| virtual vtkIdType | GetCount () |
| Returns the number of words received by the most recent Receive(). | |
| 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 int *data, vtkIdType length, int srcProcessId) |
Broadcast sends the array in the process with id srcProcessId to all of the other processes. | |
| 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 | 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 | Broadcast (long *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) |
Broadcast sends the array in the process with id srcProcessId to all of the other processes. | |
| 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. | |
| 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 | 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 | Broadcast (float *data, vtkIdType length, int srcProcessId) |
Broadcast sends the array in the process with id srcProcessId to all of the other 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 | 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 | 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 | Broadcast (vtkDataObject *data, int srcProcessId) |
Broadcast sends the array in the process with id srcProcessId to all of the other processes. | |
| int | Broadcast (vtkDataArray *data, int srcProcessId) |
Broadcast sends the array in the process with id srcProcessId to all of the other processes. | |
| int | Gather (const int *sendBuffer, int *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | Gather (const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | Gather (const short *sendBuffer, short *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | Gather (const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | Gather (const long *sendBuffer, long *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | Gather (const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | Gather (const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | Gather (const char *sendBuffer, char *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | Gather (const signed char *sendBuffer, signed char *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | Gather (const float *sendBuffer, float *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | Gather (const double *sendBuffer, double *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | Gather (const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| 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 | Gather (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, int destProcessId) |
Gather collects arrays in the process with id destProcessId. | |
| int | GatherV (const int *sendBuffer, int *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId) |
| GatherV is the vector variant of Gather. | |
| 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 | GatherV (const short *sendBuffer, short *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId) |
| GatherV is the vector variant of Gather. | |
| 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 | GatherV (const long *sendBuffer, long *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId) |
| GatherV is the vector variant of Gather. | |
| 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 | GatherV (const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId) |
| GatherV is the vector variant of Gather. | |
| int | GatherV (const char *sendBuffer, char *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId) |
| GatherV is the vector variant of Gather. | |
| 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 | GatherV (const float *sendBuffer, float *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId) |
| GatherV is the vector variant of Gather. | |
| int | GatherV (const double *sendBuffer, double *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId) |
| GatherV is the vector variant of Gather. | |
| 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 | 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 | GatherV (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, vtkIdTypeArray *recvLengths, vtkIdTypeArray *offsets, int destProcessId) |
For this overload, recvLengths and offsets are not known on destProcessId. | |
| int | GatherV (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, int destProcessId) |
For this overload, the recvLengths and offsets parameters are still computed but not exposed. | |
| int | GatherV (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, vtkIdType *recvLengths, vtkIdType *offsets, int destProcessId) |
For this overload, recvLengths and offsets known on destProcessId and are passed in as parameters. | |
| 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 | 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 | Scatter (const short *sendBuffer, short *recvBuffer, vtkIdType length, int srcProcessId) |
Scatter takes an array in the process with id srcProcessId and distributes it. | |
| 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 | Scatter (const long *sendBuffer, long *recvBuffer, vtkIdType length, int srcProcessId) |
Scatter takes an array in the process with id srcProcessId and distributes it. | |
| 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 | 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 | Scatter (const char *sendBuffer, char *recvBuffer, vtkIdType length, int srcProcessId) |
Scatter takes an array in the process with id srcProcessId and distributes it. | |
| 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 | Scatter (const float *sendBuffer, float *recvBuffer, vtkIdType length, int srcProcessId) |
Scatter takes an array in the process with id srcProcessId and distributes it. | |
| 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 | 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 | 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 | Scatter (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, int srcProcessId) |
Scatter takes an array in the process with id srcProcessId and distributes it. | |
| int | ScatterV (const int *sendBuffer, int *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId) |
| ScatterV is the vector variant of Scatter. | |
| 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 | ScatterV (const short *sendBuffer, short *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId) |
| ScatterV is the vector variant of Scatter. | |
| 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 | ScatterV (const long *sendBuffer, long *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId) |
| ScatterV is the vector variant of Scatter. | |
| 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 | ScatterV (const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId) |
| ScatterV is the vector variant of Scatter. | |
| int | ScatterV (const char *sendBuffer, char *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 | ScatterV (const float *sendBuffer, float *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId) |
| ScatterV is the vector variant of Scatter. | |
| int | ScatterV (const double *sendBuffer, double *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int srcProcessId) |
| ScatterV is the vector variant of Scatter. | |
| 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 | 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 | AllGather (const int *sendBuffer, int *recvBuffer, vtkIdType length) |
| Same as gather except that the result ends up on all 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 short *sendBuffer, short *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 | AllGather (const long *sendBuffer, long *recvBuffer, vtkIdType length) |
| Same as gather except that the result ends up on all processes. | |
| int | AllGather (const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length) |
| Same as gather except that the result ends up on all processes. | |
| int | AllGather (const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length) |
| Same as gather except that the result ends up on all processes. | |
| int | AllGather (const char *sendBuffer, char *recvBuffer, vtkIdType length) |
| Same as gather except that the result ends up on all 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 float *sendBuffer, float *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 | AllGather (const long long *sendBuffer, long long *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. | |
| int | AllGather (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer) |
| Same as gather except that the result ends up on all processes. | |
| int | AllGather (const vtkMultiProcessStream &sendBuffer, std::vector< vtkMultiProcessStream > &recvBuffer) |
| Same as gather except that the result ends up on all processes. | |
| 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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. | |
| int | AllGatherV (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, vtkIdType *recvLengths, vtkIdType *offsets) |
| Same as GatherV except that the result is placed in all processes. | |
| int | AllGatherV (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer) |
| Same as GatherV except that the result is placed in all processes. | |
| int | Reduce (const int *sendBuffer, int *recvBuffer, vtkIdType length, int operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, int operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const short *sendBuffer, short *recvBuffer, vtkIdType length, int operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, int operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const long *sendBuffer, long *recvBuffer, vtkIdType length, int operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, int operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, int operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const char *sendBuffer, char *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, int operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| 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, int operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const long long *sendBuffer, long long *recvBuffer, vtkIdType length, int operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| 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 | Reduce (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, int operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const int *sendBuffer, int *recvBuffer, vtkIdType length, Operation *operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const unsigned int *sendBuffer, unsigned int *recvBuffer, vtkIdType length, Operation *operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const short *sendBuffer, short *recvBuffer, vtkIdType length, Operation *operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const unsigned short *sendBuffer, unsigned short *recvBuffer, vtkIdType length, Operation *operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const long *sendBuffer, long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const unsigned long *sendBuffer, unsigned long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const unsigned char *sendBuffer, unsigned char *recvBuffer, vtkIdType length, Operation *operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| int | Reduce (const char *sendBuffer, char *recvBuffer, vtkIdType length, Operation *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) |
| Reduce an array to the given destination process. | |
| int | Reduce (const float *sendBuffer, float *recvBuffer, vtkIdType length, Operation *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 | Reduce (const long long *sendBuffer, long long *recvBuffer, vtkIdType length, Operation *operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| 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. | |
| int | Reduce (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, Operation *operation, int destProcessId) |
| Reduce an array to the given destination process. | |
| 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 | 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 | 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 | 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 | AllReduce (const long *sendBuffer, long *recvBuffer, vtkIdType length, int operation) |
| Same as Reduce except that the result is placed in all of the processes. | |
| 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. | |
| 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 | 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 | 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 | 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 | 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 | 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 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 | AllReduce (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, int operation) |
| Same as Reduce except that the result is placed in all of the 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 | 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 short *sendBuffer, short *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, Operation *operation) |
| Same as Reduce except that the result is placed in all of the processes. | |
| 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 | 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 | 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 | 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 | 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. | |
| 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 | 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 long long *sendBuffer, long long *recvBuffer, vtkIdType length, Operation *operation) |
| Same as Reduce except that the result is placed in all of the processes. | |
| int | 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 | AllReduce (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, Operation *operation) |
| Same as Reduce except that the result is placed in all of the processes. | |
| virtual int | BroadcastVoidArray (void *data, vtkIdType length, int type, int srcProcessId) |
| Subclasses should reimplement these if they have a more efficient implementation. | |
| virtual int | GatherVoidArray (const void *sendBuffer, void *recvBuffer, vtkIdType length, int type, int destProcessId) |
| Subclasses should reimplement these if they have a more efficient implementation. | |
| virtual int | GatherVVoidArray (const void *sendBuffer, void *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int type, int destProcessId) |
| Subclasses should reimplement these if they have a more efficient implementation. | |
| virtual int | ScatterVoidArray (const void *sendBuffer, void *recvBuffer, vtkIdType length, int type, int srcProcessId) |
| Subclasses should reimplement these if they have a more efficient implementation. | |
| virtual int | ScatterVVoidArray (const void *sendBuffer, void *recvBuffer, vtkIdType *sendLengths, vtkIdType *offsets, vtkIdType recvLength, int type, int srcProcessId) |
| Subclasses should reimplement these if they have a more efficient implementation. | |
| virtual int | AllGatherVoidArray (const void *sendBuffer, void *recvBuffer, vtkIdType length, int type) |
| Subclasses should reimplement these if they have a more efficient implementation. | |
| virtual int | AllGatherVVoidArray (const void *sendBuffer, void *recvBuffer, vtkIdType sendLength, vtkIdType *recvLengths, vtkIdType *offsets, int type) |
| Subclasses should reimplement these if they have a more efficient implementation. | |
| virtual int | ReduceVoidArray (const void *sendBuffer, void *recvBuffer, vtkIdType length, int type, int operation, int destProcessId) |
| Subclasses should reimplement these if they have a more efficient implementation. | |
| virtual int | ReduceVoidArray (const void *sendBuffer, void *recvBuffer, vtkIdType length, int type, Operation *operation, int destProcessId) |
| Subclasses should reimplement these if they have a more efficient implementation. | |
| virtual int | AllReduceVoidArray (const void *sendBuffer, void *recvBuffer, vtkIdType length, int type, int operation) |
| Subclasses should reimplement these if they have a more efficient implementation. | |
| virtual int | AllReduceVoidArray (const void *sendBuffer, void *recvBuffer, vtkIdType length, int type, Operation *operation) |
| Subclasses should reimplement these if they have a more efficient implementation. | |
Public Member Functions inherited from vtkObject | |
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
| virtual void | DebugOn () |
| Turn debugging output on. | |
| virtual void | DebugOff () |
| Turn debugging output off. | |
| bool | GetDebug () |
| Get the value of the debug flag. | |
| void | SetDebug (bool debugFlag) |
| Set the value of the debug flag. | |
| virtual void | Modified () |
| Update the modification time for this object. | |
| virtual vtkMTimeType | GetMTime () |
| Return this object's modified time. | |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. | |
| void | RemoveObserver (unsigned long tag) |
| void | RemoveObservers (unsigned long event) |
| void | RemoveObservers (const char *event) |
| void | RemoveAllObservers () |
| vtkTypeBool | HasObserver (unsigned long event) |
| vtkTypeBool | HasObserver (const char *event) |
| vtkTypeBool | InvokeEvent (unsigned long event) |
| vtkTypeBool | InvokeEvent (const char *event) |
| std::string | GetObjectDescription () const override |
| The object description printed in messages and PrintSelf output. | |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
| vtkCommand * | GetCommand (unsigned long tag) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
| void | RemoveObserver (vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
| void | RemoveObservers (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
| vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
| vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
| template<class U, class T> | |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. | |
| template<class U, class T> | |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. | |
| template<class U, class T> | |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Allow user to set the AbortFlagOn() with the return value of the callback method. | |
| vtkTypeBool | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. | |
| vtkTypeBool | InvokeEvent (const char *event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. | |
| virtual void | SetObjectName (const std::string &objectName) |
| Set/get the name of this object for reporting purposes. | |
| virtual std::string | GetObjectName () const |
| Set/get the name of this object for reporting purposes. | |
Public Member Functions inherited from vtkObjectBase | |
| const char * | GetClassName () const |
| Return the class name as a string. | |
| virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
| Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). | |
| virtual void | Delete () |
| Delete a VTK object. | |
| virtual void | FastDelete () |
| Delete a reference to this object. | |
| void | InitializeObjectBase () |
| void | Print (ostream &os) |
| Print an object to an ostream. | |
| void | Register (vtkObjectBase *o) |
| Increase the reference count (mark as used by another object). | |
| virtual void | UnRegister (vtkObjectBase *o) |
| Decrease the reference count (release by another object). | |
| int | GetReferenceCount () |
| Return the current reference count of this object. | |
| void | SetReferenceCount (int) |
| Sets the reference count. | |
| bool | GetIsInMemkind () const |
| A local state flag that remembers whether this object lives in the normal or extended memory space. | |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses. | |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses. | |
| virtual bool | UsesGarbageCollector () const |
Indicate whether the class uses vtkGarbageCollector or not. | |
Static Public Member Functions | |
| static vtkTypeBool | IsTypeOf (const char *type) |
| static vtkCommunicator * | SafeDownCast (vtkObjectBase *o) |
| static void | SetUseCopy (int useCopy) |
| static vtkSmartPointer< vtkDataObject > | UnMarshalDataObject (vtkCharArray *buffer) |
| Same as UnMarshalDataObject(vtkCharArray*, vtkDataObject*) except that this method doesn't need to know the type of the data object a priori. | |
| static int | GetParentProcessor (int pid) |
| Some helper functions when dealing with heap tree - based algorithms - we don't need a function for getting the right processor since it is 1 + theLeftProcessor. | |
| static int | GetLeftChildProcessor (int pid) |
| Some helper functions when dealing with heap tree - based algorithms - we don't need a function for getting the right processor since it is 1 + theLeftProcessor. | |
| static int | MarshalDataObject (vtkDataObject *object, vtkCharArray *buffer) |
| Convert a data object into a string that can be transmitted and vice versa. | |
| static int | UnMarshalDataObject (vtkCharArray *buffer, vtkDataObject *object) |
| Convert a data object into a string that can be transmitted and vice versa. | |
Static Public Member Functions inherited from vtkObject | |
| static vtkObject * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. | |
| static void | BreakOnError () |
| This method is called when vtkErrorMacro executes. | |
| static void | SetGlobalWarningDisplay (vtkTypeBool val) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| static void | GlobalWarningDisplayOn () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| static void | GlobalWarningDisplayOff () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
| static vtkTypeBool | GetGlobalWarningDisplay () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. | |
Static Public Member Functions inherited from vtkObjectBase | |
| static vtkTypeBool | IsTypeOf (const char *name) |
| Return 1 if this class type is the same type of (or a subclass of) the named class. | |
| static vtkIdType | GetNumberOfGenerationsFromBaseType (const char *name) |
| Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). | |
| static vtkObjectBase * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. | |
| static void | SetMemkindDirectory (const char *directoryname) |
| The name of a directory, ideally mounted -o dax, to memory map an extended memory space within. | |
| static bool | GetUsingMemkind () |
| A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space. | |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| int | WriteDataArray (vtkDataArray *object) |
| int | ReadDataArray (vtkDataArray *object) |
| vtkCommunicator () | |
| ~vtkCommunicator () override | |
| int | SendElementalDataObject (vtkDataObject *data, int remoteHandle, int tag) |
| int | ReceiveDataObject (vtkDataObject *data, int remoteHandle, int tag, int type=-1) |
| int | ReceiveElementalDataObject (vtkDataObject *data, int remoteHandle, int tag) |
| int | ReceiveMultiBlockDataSet (vtkMultiBlockDataSet *data, int remoteHandle, int tag) |
| int | GatherV (vtkDataArray *sendArray, vtkDataArray *recvArray, vtkSmartPointer< vtkDataArray > *recvArrays, int destProcessId) |
GatherV collects arrays in the process with id destProcessId. | |
| int | GatherVElementalDataObject (vtkDataObject *sendData, vtkSmartPointer< vtkDataObject > *receiveData, int destProcessId) |
GatherV collects arrays in the process with id destProcessId. | |
| int | AllGatherV (vtkDataArray *sendBuffer, vtkDataArray *recvBuffer, vtkIdTypeArray *recvLengthsArray, vtkIdTypeArray *offsetsArray) |
| int | AllGatherV (vtkDataArray *sendArray, vtkDataArray *recvArray, vtkSmartPointer< vtkDataArray > *recvArrays) |
Protected Member Functions inherited from vtkObject | |
| vtkObject () | |
| ~vtkObject () override | |
| void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
| void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
| These methods allow a command to exclusively grab all events. | |
| void | InternalReleaseFocus () |
| These methods allow a command to exclusively grab all events. | |
Protected Member Functions inherited from vtkObjectBase | |
| vtkObjectBase () | |
| virtual | ~vtkObjectBase () |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| vtkObjectBase (const vtkObjectBase &) | |
| void | operator= (const vtkObjectBase &) |
Protected Attributes | |
| int | MaximumNumberOfProcesses |
| int | NumberOfProcesses |
| int | LocalProcessId |
| vtkIdType | Count |
Protected Attributes inherited from vtkObject | |
| bool | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
| std::string | ObjectName |
Protected Attributes inherited from vtkObjectBase | |
| std::atomic< int32_t > | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
Static Protected Attributes | |
| static int | UseCopy |
Additional Inherited Members | |
Static Protected Member Functions inherited from vtkObjectBase | |
| static vtkMallocingFunction | GetCurrentMallocFunction () |
| static vtkReallocingFunction | GetCurrentReallocFunction () |
| static vtkFreeingFunction | GetCurrentFreeFunction () |
| static vtkFreeingFunction | GetAlternateFreeFunction () |
Used to send/receive messages in a multiprocess environment.
This is an abstract class which contains functionality for sending and receiving inter-process messages. It contains methods for marshaling an object into a string (currently used by the MPI communicator but not the shared memory communicator).
Definition at line 42 of file vtkCommunicator.h.
| typedef vtkObject vtkCommunicator::Superclass |
Definition at line 46 of file vtkCommunicator.h.
| Enumerator | |
|---|---|
| BROADCAST_TAG | |
| GATHER_TAG | |
| GATHERV_TAG | |
| SCATTER_TAG | |
| SCATTERV_TAG | |
| REDUCE_TAG | |
| BARRIER_TAG | |
| ALL_TO_ALLV_TAG | |
Definition at line 66 of file vtkCommunicator.h.
| Enumerator | |
|---|---|
| MAX_OP | |
| MIN_OP | |
| SUM_OP | |
| PRODUCT_OP | |
| LOGICAL_AND_OP | |
| BITWISE_AND_OP | |
| LOGICAL_OR_OP | |
| BITWISE_OR_OP | |
| LOGICAL_XOR_OP | |
| BITWISE_XOR_OP | |
Definition at line 78 of file vtkCommunicator.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class.
Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObjectBase.
Reimplemented in vtkDummyCommunicator, vtkMPICommunicator, vtkSocketCommunicator, and vtkSubCommunicator.
|
static |
|
protectedvirtual |
Reimplemented in vtkDummyCommunicator, vtkMPICommunicator, vtkSocketCommunicator, and vtkSubCommunicator.
| vtkCommunicator * vtkCommunicator::NewInstance | ( | ) | const |
|
overridevirtual |
Methods invoked by print to print information about the object including superclasses.
Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkObjectBase.
Reimplemented in vtkDummyCommunicator, vtkMPICommunicator, vtkSocketCommunicator, and vtkSubCommunicator.
|
virtual |
Set the number of processes you will be using.
This defaults to the maximum number available. If you set this to a value higher than the default, you will get an error.
Reimplemented in vtkSocketCommunicator.
|
virtual |
Set the number of processes you will be using.
This defaults to the maximum number available. If you set this to a value higher than the default, you will get an error.
|
virtual |
Tells you which process [0, NumProcess) you are in.
| int vtkCommunicator::Send | ( | vtkDataObject * | data, |
| int | remoteHandle, | ||
| int | tag ) |
This method sends a data object to a destination.
Tag eliminates ambiguity and is used to match sends to receives.
| int vtkCommunicator::Send | ( | vtkDataArray * | data, |
| int | remoteHandle, | ||
| int | tag ) |
This method sends a data array to a destination.
Tag eliminates ambiguity and is used to match sends to receives.
|
pure virtual |
Subclasses have to supply this method to send various arrays of data.
The type arg is one of the VTK type constants recognized by the vtkTemplateMacro (VTK_FLOAT, VTK_INT, etc.). length is measured in number of values (as opposed to number of bytes).
Implemented in vtkDummyCommunicator, vtkMPICommunicator, vtkSocketCommunicator, and vtkSubCommunicator.
|
inline |
Convenience methods for sending data arrays.
Definition at line 147 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 151 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 155 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 159 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 163 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 167 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 171 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 175 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 179 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 183 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 187 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 191 of file vtkCommunicator.h.
|
inline |
Convenience methods for sending data arrays.
Definition at line 195 of file vtkCommunicator.h.
| int vtkCommunicator::Send | ( | const vtkMultiProcessStream & | stream, |
| int | remoteId, | ||
| int | tag ) |
| int vtkCommunicator::Receive | ( | vtkDataObject * | data, |
| int | remoteHandle, | ||
| int | tag ) |
This method receives a data object from a corresponding send.
It blocks until the receive is finished.
| vtkDataObject * vtkCommunicator::ReceiveDataObject | ( | int | remoteHandle, |
| int | tag ) |
The caller does not have to know the data type before this call is made.
It returns the newly created object.
| int vtkCommunicator::Receive | ( | vtkDataArray * | data, |
| int | remoteHandle, | ||
| int | tag ) |
This method receives a data array from a corresponding send.
It blocks until the receive is finished.
|
pure virtual |
Subclasses have to supply this method to receive various arrays of data.
The type arg is one of the VTK type constants recognized by the vtkTemplateMacro (VTK_FLOAT, VTK_INT, etc.). maxlength is measured in number of values (as opposed to number of bytes) and is the maxmum length of the data to receive. If the maxlength is less than the length of the message sent by the sender, an error will be flagged. Once a message is received, use the GetCount() method to determine the actual size of the data received.
Implemented in vtkDummyCommunicator, vtkMPICommunicator, vtkSocketCommunicator, and vtkSubCommunicator.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 238 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 242 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 246 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 250 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 254 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 258 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 262 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 266 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 270 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 274 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 278 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 282 of file vtkCommunicator.h.
|
inline |
Convenience methods for receiving data arrays.
Definition at line 286 of file vtkCommunicator.h.
| int vtkCommunicator::Receive | ( | vtkMultiProcessStream & | stream, |
| int | remoteId, | ||
| int | tag ) |
|
virtual |
Returns the number of words received by the most recent Receive().
Note that this is not the number of bytes received, but the number of items of the data-type received by the most recent Receive() eg. if Receive(int*,..) was used, then this returns the number of ints received; if Receive(double*,..) was used, then this returns the number of doubles received etc. The return value is valid only after a successful Receive().
|
virtual |
Exchange variable-sized messages between all processes.
Reimplemented in vtkMPICommunicator.
|
virtual |
Will block the processes until all other processes reach the Barrier function.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 327 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 331 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 335 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 339 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 343 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 347 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 351 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 355 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 359 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 363 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 367 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 371 of file vtkCommunicator.h.
|
inline |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
Definition at line 375 of file vtkCommunicator.h.
| int vtkCommunicator::Broadcast | ( | vtkDataObject * | data, |
| int | srcProcessId ) |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
| int vtkCommunicator::Broadcast | ( | vtkDataArray * | data, |
| int | srcProcessId ) |
Broadcast sends the array in the process with id srcProcessId to all of the other processes.
All processes must call these method with the same arguments in order for it to complete.
| int vtkCommunicator::Broadcast | ( | vtkMultiProcessStream & | stream, |
| int | srcProcessId ) |
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 395 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 399 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 404 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 408 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 413 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 417 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 422 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 427 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 431 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 436 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 440 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 444 of file vtkCommunicator.h.
|
inline |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
Definition at line 449 of file vtkCommunicator.h.
| int vtkCommunicator::Gather | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer, | ||
| int | destProcessId ) |
Gather collects arrays in the process with id destProcessId.
Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on the destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
| int vtkCommunicator::Gather | ( | vtkDataObject * | sendBuffer, |
| std::vector< vtkSmartPointer< vtkDataObject > > & | recvBuffer, | ||
| int | destProcessId ) |
Gathers vtkDataObject (sendBuffer) from all ranks to the destProcessId.
| [in] | sendBuffer | - data object to send from local process. Can be null if not sending any data from the current process. |
| [out] | recvBuffer | - vector of data objects to receive data on the receiving rank (identified by destProcessId). This may be empty or filled with data object instances. If empty, data objects will be created as needed. If not empty, existing data object will be used. |
| [in] | destProcessId | - process id to gather on. |
| int vtkCommunicator::Gather | ( | const vtkMultiProcessStream & | sendBuffer, |
| std::vector< vtkMultiProcessStream > & | recvBuffer, | ||
| int | destProcessId ) |
Gathers vtkMultiProcessStream (sendBuffer) from all ranks to the destProcessId.
| [in] | sendBuffer | - vtkMultiProcessStream to send from local process. |
| [out] | recvBuffer | - vector of vtkMultiProcessStream instances received on the receiving rank (identified by destProcessId). |
| [in] | destProcessId | - process id to gather on. |
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 497 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 503 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 509 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 515 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 521 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 527 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 533 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 539 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 545 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 551 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 557 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 563 of file vtkCommunicator.h.
|
inline |
GatherV is the vector variant of Gather.
It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
Definition at line 569 of file vtkCommunicator.h.
| int vtkCommunicator::GatherV | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer, | ||
| vtkIdTypeArray * | recvLengths, | ||
| vtkIdTypeArray * | offsets, | ||
| int | destProcessId ) |
For this overload, recvLengths and offsets are not known on destProcessId.
The recvLengths is set using a gather operation and offsets is computed from recvLengths. recvLengths has NumberOfProcesses elements and offsets has NumberOfProcesses + 1 elements.
| int vtkCommunicator::GatherV | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer, | ||
| int | destProcessId ) |
For this overload, the recvLengths and offsets parameters are still computed but not exposed.
| int vtkCommunicator::GatherV | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer, | ||
| vtkIdType * | recvLengths, | ||
| vtkIdType * | offsets, | ||
| int | destProcessId ) |
For this overload, recvLengths and offsets known on destProcessId and are passed in as parameters.
recvLengths and offsets must be valid for all processes, a warning will be emitted otherwise.
| int vtkCommunicator::GatherV | ( | vtkDataObject * | sendData, |
| vtkSmartPointer< vtkDataObject > * | recvData, | ||
| int | destProcessId ) |
Collects data objects in the process with id destProcessId.
Each process (including the destination) marshals and then sends the data object to the destination process. The destination process unmarshals and then stores the data objects in rank order. The recvData (on the destination process) must be of length numProcesses.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 617 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 621 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 626 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 630 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 635 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 639 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 644 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 649 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 653 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 658 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 662 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 666 of file vtkCommunicator.h.
|
inline |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
Definition at line 671 of file vtkCommunicator.h.
| int vtkCommunicator::Scatter | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer, | ||
| int | srcProcessId ) |
Scatter takes an array in the process with id srcProcessId and distributes it.
Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 688 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 694 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 700 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 706 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 712 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 718 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 724 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 730 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 736 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 742 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 748 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 754 of file vtkCommunicator.h.
|
inline |
ScatterV is the vector variant of Scatter.
It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
Definition at line 760 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 772 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 776 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 780 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 784 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 788 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 792 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 796 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 800 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 804 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 808 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 812 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 816 of file vtkCommunicator.h.
|
inline |
Same as gather except that the result ends up on all processes.
Definition at line 820 of file vtkCommunicator.h.
| int vtkCommunicator::AllGather | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer ) |
Same as gather except that the result ends up on all processes.
| int vtkCommunicator::AllGather | ( | const vtkMultiProcessStream & | sendBuffer, |
| std::vector< vtkMultiProcessStream > & | recvBuffer ) |
Same as gather except that the result ends up on all processes.
| int vtkCommunicator::AllGather | ( | vtkDataObject * | sendBuffer, |
| std::vector< vtkSmartPointer< vtkDataObject > > & | recvBuffer ) |
Gathers vtkDataObject (sendBuffer) from all ranks to all raks.
| [in] | sendBuffer | - data object to send from local process. Can be null if not sending any data from the current process. |
| [out] | recvBuffer | - vector of data objects to receive data. This may be empty or filled with data object instances. If empty, data objects will be created as needed. If not empty, existing data object will be used. |
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 846 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 852 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 858 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 864 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 870 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 876 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 882 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 888 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 894 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 900 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 906 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 912 of file vtkCommunicator.h.
|
inline |
Same as GatherV except that the result is placed in all processes.
Definition at line 918 of file vtkCommunicator.h.
| int vtkCommunicator::AllGatherV | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer, | ||
| vtkIdType * | recvLengths, | ||
| vtkIdType * | offsets ) |
Same as GatherV except that the result is placed in all processes.
| int vtkCommunicator::AllGatherV | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer ) |
Same as GatherV except that the result is placed in all processes.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 935 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 940 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 946 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 952 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 958 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 964 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 970 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 976 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 982 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 988 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 994 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 1000 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
Definition at line 1006 of file vtkCommunicator.h.
| int vtkCommunicator::Reduce | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer, | ||
| int | operation, | ||
| int | destProcessId ) |
Reduce an array to the given destination process.
This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1020 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1025 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1031 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1037 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1043 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1049 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1055 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1061 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1067 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1073 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1079 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1085 of file vtkCommunicator.h.
|
inline |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
Definition at line 1091 of file vtkCommunicator.h.
| int vtkCommunicator::Reduce | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer, | ||
| Operation * | operation, | ||
| int | destProcessId ) |
Reduce an array to the given destination process.
This version of Reduce takes a custom operation as a subclass of vtkCommunicator::Operation.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1105 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1109 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1114 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1118 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1123 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1127 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1132 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1137 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1141 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1146 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1150 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1154 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1158 of file vtkCommunicator.h.
| int vtkCommunicator::AllReduce | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer, | ||
| int | operation ) |
Same as Reduce except that the result is placed in all of the processes.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1165 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1169 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1174 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1178 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1183 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1187 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1192 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1197 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1201 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1206 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1210 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1215 of file vtkCommunicator.h.
|
inline |
Same as Reduce except that the result is placed in all of the processes.
Definition at line 1220 of file vtkCommunicator.h.
| int vtkCommunicator::AllReduce | ( | vtkDataArray * | sendBuffer, |
| vtkDataArray * | recvBuffer, | ||
| Operation * | operation ) |
Same as Reduce except that the result is placed in all of the processes.
|
virtual |
Subclasses should reimplement these if they have a more efficient implementation.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
virtual |
Subclasses should reimplement these if they have a more efficient implementation.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
virtual |
Subclasses should reimplement these if they have a more efficient implementation.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
virtual |
Subclasses should reimplement these if they have a more efficient implementation.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
virtual |
Subclasses should reimplement these if they have a more efficient implementation.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
virtual |
Subclasses should reimplement these if they have a more efficient implementation.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
virtual |
Subclasses should reimplement these if they have a more efficient implementation.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
virtual |
Subclasses should reimplement these if they have a more efficient implementation.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
virtual |
Subclasses should reimplement these if they have a more efficient implementation.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
virtual |
Subclasses should reimplement these if they have a more efficient implementation.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
virtual |
Subclasses should reimplement these if they have a more efficient implementation.
Reimplemented in vtkMPICommunicator, and vtkSocketCommunicator.
|
inlinevirtual |
Check if this communicator implements a probe operation.
This method is implemented for the probing operation for now so as to not have to implement it for all the subclasses of vtkCommunicator. In the future, one could imagine making the Probe method a pure virtual method and having it implemented everywhere so as to no longer need the CanProbe method.
Reimplemented in vtkMPICommunicator.
Definition at line 1265 of file vtkCommunicator.h.
|
inlinevirtual |
Blocking test for checking for a message tagged with tag from source process (if source == ANY_SOURCE check for any message).
Rank in actualSource is rank sending a message.
Check if implemented in this communicator using the CanProbe method before using.
Returns 1 on success and 0 on failure.
Reimplemented in vtkMPICommunicator.
Definition at line 1276 of file vtkCommunicator.h.
|
static |
|
virtual |
Determine the global bounds for a set of processes.
BBox is initially set (outside of the call to the local bounds of the process and will be modified to be the global bounds - this default implementation views the processors as a heap tree with the root being processId = 0 If either rightHasBounds or leftHasBounds is not 0 then the corresponding int will be set to 1 if the right/left processor has bounds else it will be set to 0 The last three arguments are the tags to be used when performing the operation
|
static |
Some helper functions when dealing with heap tree - based algorithms - we don't need a function for getting the right processor since it is 1 + theLeftProcessor.
|
static |
Some helper functions when dealing with heap tree - based algorithms - we don't need a function for getting the right processor since it is 1 + theLeftProcessor.
|
static |
Convert a data object into a string that can be transmitted and vice versa.
Returns 1 for success and 0 for failure. WARNING: This will only work for types that have a vtkDataWriter class.
|
static |
Convert a data object into a string that can be transmitted and vice versa.
Returns 1 for success and 0 for failure. WARNING: This will only work for types that have a vtkDataWriter class.
|
static |
Same as UnMarshalDataObject(vtkCharArray*, vtkDataObject*) except that this method doesn't need to know the type of the data object a priori.
It can deduce that from the contents of the buffer. May return nullptr data object if buffer is nullptr or empty.
|
protected |
|
protected |
|
protected |
|
protected |
GatherV collects arrays in the process with id destProcessId.
Each process (including the destination) sends its sendArray to the destination process. The destination process receives the arrays and stores them in rank order in recvArrays. The recvArrays is an array containing NumberOfProcesses elements. The recvArray allocates and manages memory for recvArrays.
|
protected |
GatherV collects arrays in the process with id destProcessId.
Each process (including the destination) sends its sendArray to the destination process. The destination process receives the arrays and stores them in rank order in recvArrays. The recvArrays is an array containing NumberOfProcesses elements. The recvArray allocates and manages memory for recvArrays.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 1362 of file vtkCommunicator.h.
|
protected |
Definition at line 1363 of file vtkCommunicator.h.
|
protected |
Definition at line 1365 of file vtkCommunicator.h.
|
staticprotected |
Definition at line 1367 of file vtkCommunicator.h.
|
protected |
Definition at line 1369 of file vtkCommunicator.h.