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

Function Scatter

Parallel/Core/vtkMultiProcessController.h:763–766  ·  view source on GitHub ↗

@{ * Scatter takes an array in the process with id \c srcProcessId and * distributes it. Each process (including the source) receives a portion of * the send buffer. Process 0 receives the first \c length values, process 1 * receives the second \c length values, and so on. Scatter is the inverse * operation of Gather. */

Source from the content-addressed store, hash-verified

761 * operation of Gather.
762 */
763 int Scatter(const int* sendBuffer, int* recvBuffer, vtkIdType length, int srcProcessId)
764 {
765 return this->Communicator->Scatter(sendBuffer, recvBuffer, length, srcProcessId);
766 }
767 int Scatter(
768 const unsigned int* sendBuffer, unsigned int* recvBuffer, vtkIdType length, int srcProcessId)
769 {

Callers

nothing calls this directly

Calls 1

ScatterMethod · 0.45

Tested by

no test coverage detected