#include <sendrecvmodel.hpp>

Public Member Functions | |
| SendRecvModel () | |
| Construct a new Sender object. More... | |
| SendRecvModel (const int num) | |
| Construct a new Sender object. More... | |
| auto & | Init (const int num) |
| Init Send Recv object. More... | |
| auto & | InsertBufferInit () |
| auto & | InsertBuffer (const int i, const T &val) |
| auto & | setNumBlocks (const int num) |
| Set the Num of Blocks. More... | |
| auto & | setCounts (const int scounts[]) |
| Set the Counts from an existed array. More... | |
| auto & | UpdateLen () |
| update the length of buffer More... | |
| auto & | AllocateBuffer () |
| allocate the buffer More... | |
| auto & | PrepareDisp () |
| prepare for displacement for each receiving blocks More... | |
| auto & | PrintBuffer () |
Public Attributes | |
| Array1< T > | buffer |
| int | num_of_blocks |
| int | len |
| Array1i | counts |
| Array1i | disps |
| Array1i | inds |
|
inline |
Construct a new Sender object.
|
inline |
Construct a new Sender object.
| num | the number of receiving blocks |
|
inline |
allocate the buffer
|
inline |
Init Send Recv object.
| num | the number of receiving blocks |

|
inline |
|
inline |
|
inline |
prepare for displacement for each receiving blocks
|
inline |

|
inline |
Set the Counts from an existed array.
| scounts |
|
inline |
Set the Num of Blocks.
| num |
|
inline |
update the length of buffer

| Array1<T> gsmpi::SendRecvModel< T >::buffer |
| Array1i gsmpi::SendRecvModel< T >::counts |
| Array1i gsmpi::SendRecvModel< T >::disps |
| Array1i gsmpi::SendRecvModel< T >::inds |
| int gsmpi::SendRecvModel< T >::len |
| int gsmpi::SendRecvModel< T >::num_of_blocks |