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

Function Scatter

Parallel/Core/vtkCommunicator.h:606–609  ·  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

604 * operation of Gather.
605 */
606 int Scatter(const int* sendBuffer, int* recvBuffer, vtkIdType length, int srcProcessId)
607 {
608 return this->ScatterVoidArray(sendBuffer, recvBuffer, length, VTK_INT, srcProcessId);
609 }
610 int Scatter(
611 const unsigned int* sendBuffer, unsigned int* recvBuffer, vtkIdType length, int srcProcessId)
612 {

Callers

nothing calls this directly

Calls 1

ScatterVoidArrayMethod · 0.45

Tested by

no test coverage detected