angel  mercurial changeset:
GMPI::Intracomm Class Reference

#include <gmpi.hpp>

Inheritance diagram for GMPI::Intracomm:
Collaboration diagram for GMPI::Intracomm:

List of all members.

Public Member Functions

 Intracomm (MPI::Intracomm &mpi_comm)
void Barrier () const
template<typename Comm_ref_t >
void Bcast (Comm_ref_t &data, int root) const
void Bcast (void *buffer, int count, const MPI::Datatype &datatype, int root) const
template<typename Comm_ref_t >
void Reduce (const Comm_ref_t &senddata, Comm_ref_t &recvdata, const MPI::Op &op, int root) const
template<typename Comm_ref_t >
void Allreduce (const Comm_ref_t &senddata, Comm_ref_t &recvdata, const MPI::Op &op) const
void Allreduce (const void *sendbuf, void *recvbuf, int count, const MPI::Datatype &datatype, const MPI::Op &op) const
void Gather (const void *sendbuf, int sendcount, const MPI::Datatype &sendtype, void *recvbuf, int recvcount, const MPI::Datatype &recvtype, int root) const

Detailed Description

Definition at line 269 of file gmpi.hpp.


Constructor & Destructor Documentation

GMPI::Intracomm::Intracomm ( MPI::Intracomm &  mpi_comm) [inline]

Definition at line 271 of file gmpi.hpp.


Member Function Documentation

template<typename Comm_ref_t >
void GMPI::Intracomm::Allreduce ( const Comm_ref_t &  senddata,
Comm_ref_t &  recvdata,
const MPI::Op &  op 
) const
void GMPI::Intracomm::Allreduce ( const void *  sendbuf,
void *  recvbuf,
int  count,
const MPI::Datatype &  datatype,
const MPI::Op &  op 
) const [inline]

Definition at line 293 of file gmpi.hpp.

References GMPI::Comm::my_comm.

void GMPI::Intracomm::Barrier ( ) const [inline]

Definition at line 273 of file gmpi.hpp.

References GMPI::Comm::my_comm.

template<class Comm_ref_t >
void GMPI::Intracomm::Bcast ( Comm_ref_t &  data,
int  root 
) const
void GMPI::Intracomm::Bcast ( void *  buffer,
int  count,
const MPI::Datatype &  datatype,
int  root 
) const [inline]

Definition at line 278 of file gmpi.hpp.

References GMPI::Comm::my_comm.

void GMPI::Intracomm::Gather ( const void *  sendbuf,
int  sendcount,
const MPI::Datatype &  sendtype,
void *  recvbuf,
int  recvcount,
const MPI::Datatype &  recvtype,
int  root 
) const [inline]

Definition at line 297 of file gmpi.hpp.

References GMPI::Comm::my_comm.

template<typename Comm_ref_t >
void GMPI::Intracomm::Reduce ( const Comm_ref_t &  senddata,
Comm_ref_t &  recvdata,
const MPI::Op &  op,
int  root 
) const

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines