std::valarray< element_type > container_type
MPI_Status m_status
handler to MPI status information
element_type operator[](unsigned int idx) const
accessor to buffer
int start()
collective start
container_type m_buf
buffer
int append(Channel *const p)
append channel to the set. there is no way to remove a channel.
Channel class for asynchronous communication.
MPI_Request m_request
handler to MPI persistent communication
ChannelSet class for a collection of channels.
unsigned int m_nreq
number of channels to hold.
int wait()
collective wait
element_type & operator[](unsigned int idx)
accessor to buffer
std::valarray< MPI_Request > m_array
a collection of MPI request held in channels.
static const int max_dimension
static std::vector< container_type > m_buf
const element_type * ptr()
accessor to buffer; returns pointer to the first element.
char element_type
data transfer is byte-wise.
Implementation of Communicator with BGNET library.
ChannelSet(int nchannel=8)
constructor. default number of channels is 8 for upward and downward in 4 dimensions.