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

Function Gather

Parallel/Core/vtkMultiProcessController.h:540–543  ·  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

538 * length length*numProcesses. Gather is the inverse operation of Scatter.
539 */
540 int Gather(const int* sendBuffer, int* recvBuffer, vtkIdType length, int destProcessId)
541 {
542 return this->Communicator->Gather(sendBuffer, recvBuffer, length, destProcessId);
543 }
544 int Gather(
545 const unsigned int* sendBuffer, unsigned int* recvBuffer, vtkIdType length, int destProcessId)
546 {

Callers

nothing calls this directly

Calls 1

GatherMethod · 0.45

Tested by

no test coverage detected