gmpi.hpp File Reference

#include "mpi.h"
#include <utility>
#include <vector>
#include <list>
#include <deque>
#include "gmpi_impl.hpp"

Include dependency graph for gmpi.hpp:

Go to the source code of this file.

Namespaces

namespace  GMPI

Classes

class  GMPI::buffer_t< Base_t >
class  GMPI::comm_ref_t< Base_t, Object_t >
class  GMPI::Comm
class  GMPI::Intracomm

Functions

MPI::Datatype GMPI::which_mpi_t (char)
 Returns MPI data type for all available base types.
MPI::Datatype GMPI::which_mpi_t (signed short)
MPI::Datatype GMPI::which_mpi_t (unsigned char)
MPI::Datatype GMPI::which_mpi_t (double)
MPI::Datatype GMPI::which_mpi_t (long double)
MPI::Datatype GMPI::which_mpi_t (pair< int, int >)
MPI::Datatype GMPI::which_mpi_t (pair< float, int >)
MPI::Datatype GMPI::which_mpi_t (pair< double, int >)
MPI::Datatype GMPI::which_mpi_t (pair< long double, int >)
MPI::Datatype GMPI::which_mpi_t (pair< short, int >)
template<typename Base_t>
const buffer_t
< Base_t > & 
GMPI::operator>> (const buffer_t< Base_t > &buffer, Base_t &input)
 Read one entry of buffer's base type.
template<typename Base_t>
buffer_t< Base_t > & GMPI::operator<< (buffer_t< Base_t > &buffer, const Base_t &output)
 Write one entry of buffer's base type.
template<typename Base_t>
const buffer_t
< Base_t > & 
GMPI::operator>> (const buffer_t< Base_t > &buffer, vector< Base_t > &input)
 Read a vector of buffer's base type in faster mode than arbitrary vectors.
template<typename Base_t>
const buffer_t
< Base_t > & 
GMPI::operator<< (buffer_t< Base_t > &buffer, const vector< Base_t > &output)
 Write a vector of buffer's base type in faster mode than arbitrary vectors.
template<typename Base_t, typename Scalar1_t, typename Scalar2_t>
const buffer_t
< Base_t > & 
GMPI::operator>> (const buffer_t< Base_t > &buffer, pair< Scalar1_t, Scalar2_t > &input)
 Reads a pair of arbitrary types.
template<typename Base_t, typename Scalar1_t, typename Scalar2_t>
buffer_t< Base_t > & GMPI::operator<< (buffer_t< Base_t > &buffer, const pair< Scalar1_t, Scalar2_t > &output)
 Writes a pair of arbitrary types.
template<typename Base_t, typename Scalar_t>
const buffer_t
< Base_t > & 
GMPI::operator>> (const buffer_t< Base_t > &buffer, vector< Scalar_t > &input)
 Reads a vector of an arbitrary type.
template<typename Base_t, typename Scalar_t>
buffer_t< Base_t > & GMPI::operator<< (buffer_t< Base_t > &buffer, const vector< Scalar_t > &output)
 Writes (appends to) a vector of an arbitrary type.
template<typename Base_t, typename Scalar_t>
const buffer_t
< Base_t > & 
GMPI::operator>> (const buffer_t< Base_t > &buffer, list< Scalar_t > &input)
 Reads a list of an arbitrary type.
template<typename Base_t, typename Scalar_t>
buffer_t< Base_t > & GMPI::operator<< (buffer_t< Base_t > &buffer, const list< Scalar_t > &output)
 Writes (appends to) a list of an arbitrary type.
template<typename Base_t, typename Scalar_t>
const buffer_t
< Base_t > & 
GMPI::operator>> (const buffer_t< Base_t > &buffer, deque< Scalar_t > &input)
 Reads a deque of an arbitrary type.
template<typename Base_t, typename Scalar_t>
buffer_t< Base_t > & GMPI::operator<< (buffer_t< Base_t > &buffer, const deque< Scalar_t > &output)
 Writes (appends to) a deque of an arbitrary type.

Variables

const MPI::Datatype GMPI::mpi_size_t = which_mpi_t (size_t())
 MPI data type to communicate sizes.


Generated on Wed Mar 11 10:33:16 2009 for angel by  doxygen 1.5.3