angel  mercurial changeset: <a href="http://mercurial.mcs.anl.gov/ad/RoseFE_angel/rev/b18cec041a55" target="_parent">b18cec041a55</a>
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

Variables

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

Function Documentation

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 147 of file gmpi.hpp.

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

Here is the call graph for this function:

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 161 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 177 of file gmpi.hpp.

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 192 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 210 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 deque< Scalar_t > &  output 
)
inline

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

Definition at line 228 of file gmpi.hpp.

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

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 142 of file gmpi.hpp.

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

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,
vector< Base_t > &  input 
)
inline

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

Definition at line 152 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 , 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 171 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 183 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 201 of file gmpi.hpp.

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 219 of file gmpi.hpp.

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

Returns MPI data type for all available base types.

Definition at line 28 of file gmpi.hpp.

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

Definition at line 31 of file gmpi.hpp.

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

Definition at line 34 of file gmpi.hpp.

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

Definition at line 39 of file gmpi.hpp.

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

Definition at line 40 of file gmpi.hpp.

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

Definition at line 45 of file gmpi.hpp.

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

Definition at line 46 of file gmpi.hpp.

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

Definition at line 47 of file gmpi.hpp.

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

Definition at line 48 of file gmpi.hpp.

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

Definition at line 49 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 52 of file gmpi.hpp.

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