MCPcopy Create free account
hub / github.com/Kitware/VTK / Gather

Function Gather

Parallel/Core/vtkCommunicator.h:384–387  ·  view source on GitHub ↗

@{ * Gather collects arrays in the process with id \c 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 \c length argument * (which must be the same on all processes) is the length of the * sendBuffers. The \c recvBuffer (

Source from the content-addressed store, hash-verified

382 * length length*numProcesses. Gather is the inverse operation of Scatter.
383 */
384 int Gather(const int* sendBuffer, int* recvBuffer, vtkIdType length, int destProcessId)
385 {
386 return this->GatherVoidArray(sendBuffer, recvBuffer, length, VTK_INT, destProcessId);
387 }
388 int Gather(
389 const unsigned int* sendBuffer, unsigned int* recvBuffer, vtkIdType length, int destProcessId)
390 {

Callers

nothing calls this directly

Calls 1

GatherVoidArrayMethod · 0.45

Tested by

no test coverage detected