linbox
Communicator Class Reference

#include <mpicpp.h>

Public Member Functions

 Communicator (int *argc, char ***argv)
 
int size () const
 
int rank () const
 
bool master () const
 
template<class T>
void send (const T &value, int dest)
 
template<class T>
void ssend (const T &value, int dest)
 
template<class T>
void recv (T &value, int src)
 
template<class T>
void bcast (T &value, int src)
 
template<class Ptr>
void send (Ptr b, Ptr e, int dest, int tag)
 
template<class Ptr>
void ssend (Ptr b, Ptr e, int dest, int tag)
 
template<class Ptr>
void recv (Ptr b, Ptr e, int dest, int tag)
 
template<class X>
void recv (X *b, X *e, int dest, int tag)
 

Detailed Description

Constructor & Destructor Documentation

◆ Communicator()

Communicator ( int * argc,
char *** argv )
inline

Member Function Documentation

◆ size()

int size ( ) const
inline

◆ rank()

int rank ( ) const
inline

◆ master()

bool master ( ) const
inline

◆ send() [1/2]

template<class T>
void send ( const T & value,
int dest )
inline

◆ ssend() [1/2]

template<class T>
void ssend ( const T & value,
int dest )
inline

◆ recv() [1/3]

template<class T>
void recv ( T & value,
int src )
inline

◆ bcast()

template<class T>
void bcast ( T & value,
int src )
inline

◆ send() [2/2]

template<class Ptr>
void send ( Ptr b,
Ptr e,
int dest,
int tag )

◆ ssend() [2/2]

template<class Ptr>
void ssend ( Ptr b,
Ptr e,
int dest,
int tag )

◆ recv() [2/3]

template<class Ptr>
void recv ( Ptr b,
Ptr e,
int dest,
int tag )

◆ recv() [3/3]

template<class X>
void recv ( X * b,
X * e,
int dest,
int tag )

The documentation for this class was generated from the following files: