GMPI Namespace Reference


Classes

class  buffer_t
class  comm_ref_t
class  Comm
class  Intracomm

Functions

MPI::Datatype which_mpi_t (char)
 Returns MPI data type for all available base types.
MPI::Datatype which_mpi_t (signed short)
MPI::Datatype which_mpi_t (unsigned char)
MPI::Datatype which_mpi_t (double)
MPI::Datatype which_mpi_t (long double)
MPI::Datatype which_mpi_t (pair< int, int >)
MPI::Datatype which_mpi_t (pair< float, int >)
MPI::Datatype which_mpi_t (pair< double, int >)
MPI::Datatype which_mpi_t (pair< long double, int >)
MPI::Datatype which_mpi_t (pair< short, int >)
template<typename Base_t>
const buffer_t
< Base_t > & 
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 > & 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 > & 
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 > & 
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 > & 
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 > & 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 > & 
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 > & 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 > & 
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 > & 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 > & 
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 > & operator<< (buffer_t< Base_t > &buffer, const deque< Scalar_t > &output)
 Writes (appends to) a deque of an arbitrary type.

Variables

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


Function Documentation

template<typename Base_t, typename Scalar_t>
buffer_t<Base_t>& GMPI::operator<< ( buffer_t< Base_t > &  buffer,
const deque< Scalar_t > &  output 
) [inline]

Writes (appends to) a deque of an arbitrary type.

Definition at line 220 of file gmpi.hpp.

References GMPI::buffer_t< Base_t >::size().

Here is the call graph for this function:

template<typename Base_t, typename Scalar_t>
buffer_t<Base_t>& GMPI::operator<< ( buffer_t< Base_t > &  buffer,
const list< Scalar_t > &  output 
) [inline]

Writes (appends to) a list of an arbitrary type.

Definition at line 202 of file gmpi.hpp.

References GMPI::buffer_t< Base_t >::size().

Here is the call graph for this function:

template<typename Base_t, typename Scalar_t>
buffer_t<Base_t>& GMPI::operator<< ( buffer_t< Base_t > &  buffer,
const vector< Scalar_t > &  output 
) [inline]

Writes (appends to) a vector of an arbitrary type.

Definition at line 184 of file gmpi.hpp.

References GMPI::buffer_t< Base_t >::size().

Here is the call graph for this function:

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 
) [inline]

Writes a pair of arbitrary types.

Definition at line 169 of file gmpi.hpp.

template<typename Base_t>
const buffer_t<Base_t>& GMPI::operator<< ( buffer_t< Base_t > &  buffer,
const vector< Base_t > &  output 
) [inline]

Write a vector of buffer's base type in faster mode than arbitrary vectors.

Definition at line 153 of file gmpi.hpp.

References GMPI::buffer_t< Base_t >::size().

Here is the call graph for this function:

template<typename Base_t>
buffer_t<Base_t>& GMPI::operator<< ( buffer_t< Base_t > &  buffer,
const Base_t &  output 
) [inline]

Write one entry of buffer's base type.

Definition at line 139 of file gmpi.hpp.

References GMPI::buffer_t< Base_t >::write().

Here is the call graph for this function:

template<typename Base_t, typename Scalar_t>
const buffer_t<Base_t>& GMPI::operator>> ( const buffer_t< Base_t > &  buffer,
deque< Scalar_t > &  input 
) [inline]

Reads a deque of an arbitrary type.

Definition at line 211 of file gmpi.hpp.

template<typename Base_t, typename Scalar_t>
const buffer_t<Base_t>& GMPI::operator>> ( const buffer_t< Base_t > &  buffer,
list< Scalar_t > &  input 
) [inline]

Reads a list of an arbitrary type.

Definition at line 193 of file gmpi.hpp.

template<typename Base_t, typename Scalar_t>
const buffer_t<Base_t>& GMPI::operator>> ( const buffer_t< Base_t > &  buffer,
vector< Scalar_t > &  input 
) [inline]

Reads a vector of an arbitrary type.

Definition at line 175 of file gmpi.hpp.

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 
) [inline]

Reads a pair of arbitrary types.

Definition at line 163 of file gmpi.hpp.

template<typename Base_t>
const buffer_t<Base_t>& GMPI::operator>> ( const buffer_t< Base_t > &  buffer,
vector< Base_t > &  input 
) [inline]

Read a vector of buffer's base type in faster mode than arbitrary vectors.

Definition at line 144 of file gmpi.hpp.

References GMPI::buffer_t< Base_t >::load(), and GMPI::buffer_t< Base_t >::remaining().

Here is the call graph for this function:

template<typename Base_t>
const buffer_t<Base_t>& GMPI::operator>> ( const buffer_t< Base_t > &  buffer,
Base_t &  input 
) [inline]

Read one entry of buffer's base type.

Definition at line 134 of file gmpi.hpp.

References GMPI::buffer_t< Base_t >::read().

Here is the call graph for this function:

MPI::Datatype GMPI::which_mpi_t ( pair< short, int >   )  [inline]

Definition at line 41 of file gmpi.hpp.

MPI::Datatype GMPI::which_mpi_t ( pair< long double, int >   )  [inline]

Definition at line 40 of file gmpi.hpp.

MPI::Datatype GMPI::which_mpi_t ( pair< double, int >   )  [inline]

Definition at line 39 of file gmpi.hpp.

MPI::Datatype GMPI::which_mpi_t ( pair< float, int >   )  [inline]

Definition at line 38 of file gmpi.hpp.

MPI::Datatype GMPI::which_mpi_t ( pair< int, int >   )  [inline]

Definition at line 37 of file gmpi.hpp.

MPI::Datatype GMPI::which_mpi_t ( long  double  )  [inline]

Definition at line 32 of file gmpi.hpp.

MPI::Datatype GMPI::which_mpi_t ( double   )  [inline]

Definition at line 31 of file gmpi.hpp.

MPI::Datatype GMPI::which_mpi_t ( unsigned  char  )  [inline]

Definition at line 26 of file gmpi.hpp.

MPI::Datatype GMPI::which_mpi_t ( signed  short  )  [inline]

Definition at line 23 of file gmpi.hpp.

MPI::Datatype GMPI::which_mpi_t ( char   )  [inline]

Returns MPI data type for all available base types.

Definition at line 20 of file gmpi.hpp.


Variable Documentation

const MPI::Datatype GMPI::mpi_size_t = which_mpi_t (size_t())

MPI data type to communicate sizes.

Definition at line 44 of file gmpi.hpp.

Referenced by GMPI::Intracomm::Bcast().


Generated on Wed Mar 11 10:35:17 2009 for angel by  doxygen 1.5.3