Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals

network Class Reference

#include <basic_network.h>


Static Public Member Functions

static void init (int &_argc, char **&_argv)
static void finalize ()
static void time (double &_t)
static void rank (int &_rank)
static void size (int &_size)
static void barrier ()
static void alltoall (void *_s, int _slen, void *_r, int _rlen)
static void alltoallv (void *_s, int *_slen, int *_soff, void *_r, int *_rlen, int *_roff)
static void allgather (void *_s, int _slen, void *_r, int _rlen)
static void allgatherv (void *_s, int _slen, void *_r, int *_rlen, int *_roff)
static void init (int &_argc, char **&_argv)
static void finalize ()
static void time (double &_t)
static void rank (int &_rank)
static void size (int &_size)
static void barrier ()
static void alltoall (void *_s, int _slen, void *_r, int _rlen)
static void alltoallv (void *_s, int *_slen, int *_soff, void *_r, int *_rlen, int *_roff)
static void allgather (void *_s, int _slen, void *_r, int _rlen)
static void allgatherv (void *_s, int _slen, void *_r, int *_rlen, int *_roff)


Detailed Description

The network class provides global network communication functions for a single process not using the Message Passing Interface (MPI).
Author:
Manfred Liebmann


Member Function Documentation

static void network::allgather void *  _s,
int  _slen,
void *  _r,
int  _rlen
[inline, static]
 

The allgather procedure initiates an all-gather communication using data blocks of the same size.

Parameters:
_s Input: Address of the send buffer.
_slen Input: Number of bytes to send to each process.
_r Input: Address of the receive buffer .
_rlen input: Number of bytes to receive from any process.

static void network::allgather void *  _s,
int  _slen,
void *  _r,
int  _rlen
[inline, static]
 

The allgather procedure initiates an all-gather communication using data blocks of the same size.

Parameters:
_s Input: Address of the send buffer.
_slen Input: Number of bytes to send to each process.
_r Input: Address of the receive buffer .
_rlen input: Number of bytes to receive from any process.

static void network::allgatherv void *  _s,
int  _slen,
void *  _r,
int *  _rlen,
int *  _roff
[inline, static]
 

The allgatherv procedure initiates an all-gather communication using data blocks of varying size.

Parameters:
_s Input: Address of the send buffer.
_slen Input: Number of bytes to send to each process.
_r Input: Address of the receive buffer .
_rlen input: Array of the number of bytes to receive from any process.
_roff input: Array of data displacements in the receive buffer for any process.

static void network::allgatherv void *  _s,
int  _slen,
void *  _r,
int *  _rlen,
int *  _roff
[inline, static]
 

The allgatherv procedure initiates an all-gather communication using data blocks of varying size.

Parameters:
_s Input: Address of the send buffer.
_slen Input: Number of bytes to send to each process.
_r Input: Address of the receive buffer .
_rlen input: Array of the number of bytes to receive from any process.
_roff input: Array of data displacements in the receive buffer for any process.

static void network::alltoall void *  _s,
int  _slen,
void *  _r,
int  _rlen
[inline, static]
 

The alltoall procedure initiates an all-to-all communication using data blocks of the same size.

Parameters:
_s Input: Address of the send buffer.
_slen Input: Number of bytes to send to each process.
_r Input: Address of the receive buffer .
_rlen input: Number of bytes to receive from any process.

static void network::alltoall void *  _s,
int  _slen,
void *  _r,
int  _rlen
[inline, static]
 

The alltoall procedure initiates an all-to-all communication using data blocks of the same size.

Parameters:
_s Input: Address of the send buffer.
_slen Input: Number of bytes to send to each process.
_r Input: Address of the receive buffer .
_rlen input: Number of bytes to receive from any process.

static void network::alltoallv void *  _s,
int *  _slen,
int *  _soff,
void *  _r,
int *  _rlen,
int *  _roff
[inline, static]
 

The alltoallv procedure initiates an all-to-all communication using data blocks of varying size.

Parameters:
_s Input: Address of the send buffer.
_slen Input: Array of the number of bytes to send to each process.
_soff Input: Array of data displacements in the send buffer for each process.
_r Input: Address of the receive buffer .
_rlen input: Array of the number of bytes to receive from any process.
_roff input: Array of data displacements in the receive buffer for any process.

static void network::alltoallv void *  _s,
int *  _slen,
int *  _soff,
void *  _r,
int *  _rlen,
int *  _roff
[inline, static]
 

The alltoallv procedure initiates an all-to-all communication using data blocks of varying size.

Parameters:
_s Input: Address of the send buffer.
_slen Input: Array of the number of bytes to send to each process.
_soff Input: Array of data displacements in the send buffer for each process.
_r Input: Address of the receive buffer .
_rlen input: Array of the number of bytes to receive from any process.
_roff input: Array of data displacements in the receive buffer for any process.

static void network::barrier  )  [inline, static]
 

The barrier procedure syncronizes all processes.

static void network::barrier  )  [inline, static]
 

The barrier procedure syncronizes all processes.

static void network::finalize  )  [inline, static]
 

The finalize procedure deinitializes the network infrastructure.

static void network::finalize  )  [inline, static]
 

The finalize procedure deinitializes the network infrastructure.

static void network::init int &  _argc,
char **&  _argv
[inline, static]
 

The init procedure initializes the network infrastructure.

Parameters:
_argc Input: Passthrough argument argc from main function.
_argv Input: Passthrough argument argv from main function.

static void network::init int &  _argc,
char **&  _argv
[inline, static]
 

The init procedure initializes the network infrastructure.

Parameters:
_argc Input: Passthrough argument argc from main function.
_argv Input: Passthrough argument argv from main function.

static void network::rank int &  _rank  )  [inline, static]
 

The rank procedure returns the rank of the current process.

Parameters:
_rank Output: Rank of the current process.

static void network::rank int &  _rank  )  [inline, static]
 

The rank procedure returns the rank of the current process.

Parameters:
_rank Output: Rank of the current process.

static void network::size int &  _size  )  [inline, static]
 

The size procedure returns the total number of processes.

Parameters:
_size Output: Total number of processes.

static void network::size int &  _size  )  [inline, static]
 

The size procedure returns the total number of processes.

Parameters:
_size Output: Total number of processes.

static void network::time double &  _t  )  [inline, static]
 

The time procedure initializes the network infrastructure.

Parameters:
_t Output: Time in seconds since an arbitrary time in the past.

static void network::time double &  _t  )  [inline, static]
 

The time procedure initializes the network infrastructure.

Parameters:
_t Output: Time in seconds since an arbitrary time in the past.


The documentation for this class was generated from the following files:
Generated on Wed Apr 26 17:41:45 2006 for Parallel Toolbox by  doxygen 1.4.2