Skip to main content
Definition: Datashipper.hpp (line 54) Provide a class for the data shipper. Data-shipping is a form of data distribution architecture where data objects are retrieved from the server, and are cached and operated upon at the client nodes. This architecture reduces network latency and increases resource utilization at the client. The fundamental concepts here are as follows: Server space is where the data is ordered. This data is roughly evenly distributed among processes. Client space is where the data is arbitrarily distributed between processes. Collection is the operation that transfers data from client space to server space. Distribution is the operation that transfer data from server space to client space. See System Coupling Participant library developer documentation for examples.

Members

Private attributes

Variable m_ds

Definition: Datashipper.hpp (line 222)
Type: std::unique_ptr< DatashipperHandler, std::function< void(DatashipperHandler *)> >

Public functions

Function Datashipper

No default constructor. Return type: Referenced by:

Function Datashipper

No copy constructor. Parameters: Return type: References:

Function Datashipper

Move constructor. Parameters: Return type: References:

Function operator=

No copy assignment. Parameters: Return type: Datashipper & References:

Function operator=

Move assignment. Parameters: Return type: Datashipper & References:

Function Datashipper

Provide a constructor for the DataTransfer class. Parameters:
  • globalSize: - Global size of all elements across all ranks.
  • indexMap: - Index map is an array, where the actual array indices are indices in the client space, and values are indices in the server space. The local size of index map is equal to the local size of client space array. For example, if indexMap[7] = 56, that means local rank has a client-space array and it has an entry in 7th (local) spot which corresponds to entry in the 56th (global) server-side array.
Parameters: Return type:

Function collect

Collect integer data. Parameters:
  • distributed: - client-space array.
  • collected: - server-space array.
Parameters: Return type: void

Function collect

Collect integer data. Parameters:
  • distributed: - client-space array.
  • collected: - server-space array.
  • numComponents: - number of components per element.
Parameters: Return type: void

Function collect

Collect scalar data. Parameters:
  • distributed: - client-space array.
  • collected: - server-space array.
Parameters: Return type: void

Function collect

Collect vector data. Parameters:
  • distributed: - client-space array.
  • collected: - server-space array.
Parameters: Return type: void

Function collect

Collect node data. Parameters:
  • distributed: - client-space array.
  • collected: - server-space array.
Parameters: Return type: void

Function collect

Collect face data. Parameters:
  • distributed: - client-space array.
  • collected: - server-space array.
Parameters: Return type: void

Function collect

Collect cell data. Parameters:
  • distributed: - client-space array.
  • collected: - server-space array.
Parameters: Return type: void

Function collect

Collect point cloud. Parameters:
  • distributed: - client-space array.
  • collected: - server-space array.
Parameters: Return type: void

Function distribute

Distribute integer data. Parameters:
  • collected: - server-space array.
  • distributed: - client-space array.
Parameters: Return type: void

Function distribute

Distribute integer data. Parameters:
  • collected: - server-space array.
  • distributed: - client-space array.
  • numComponents: - number of components per element.
Parameters: Return type: void

Function distribute

Distribute scalar data. Parameters:
  • collected: - server-space array.
  • distributed: - client-space array.
Parameters: Return type: void

Function distribute

Distribute vector data. Parameters:
  • collected: - server-space array.
  • distributed: - client-space array.
Parameters: Return type: void

Function distribute

Distribute node data. Parameters:
  • collected: - server-space array.
  • distributed: - client-space array.
Parameters: Return type: void

Function distribute

Distribute face data. Parameters:
  • collected: - server-space array.
  • distributed: - client-space array.
Parameters: Return type: void

Function distribute

Distribute cell data. Parameters:
  • collected: - server-space array.
  • distributed: - client-space array.
Parameters: Return type: void

Function distribute

Distribute point cloud data. Parameters:
  • collected: - server-space array.
  • distributed: - client-space array.
Parameters: Return type: void