Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

clMPIProc Class Reference

MPI process. More...

#include <Cluster.hh>

List of all members.

Public Member Functions

 clMPIProc ()
 ~clMPIProc ()
bool Initialize (int *, char ***)
 Initialize MPI process.

bool Finalize ()
 Uninitialize MPI process.

bool GetRank (int *)
 Get rank of this MPI node.

bool GetNodeCount (int *)
 Get number of nodes for this MPI process.

int GetError ()
 Get error code.


Private Attributes

bool bInitialized
int iError


Detailed Description

MPI process.

Definition at line 35 of file Cluster.hh.


Constructor & Destructor Documentation

clMPIProc::clMPIProc  ) 
 

Definition at line 30 of file Cluster.cc.

References bInitialized, and iError.

clMPIProc::~clMPIProc  ) 
 

Definition at line 37 of file Cluster.cc.

References bInitialized, and Finalize().


Member Function Documentation

bool clMPIProc::Initialize int *  ,
char *** 
 

Initialize MPI process.

Parameters:
argc Parameter count
argv Parameter vector
Returns:
Success

Definition at line 43 of file Cluster.cc.

References bInitialized, and iError.

Referenced by main().

bool clMPIProc::Finalize  ) 
 

Uninitialize MPI process.

Returns:
Success

Definition at line 53 of file Cluster.cc.

References bInitialized, and iError.

Referenced by main(), and ~clMPIProc().

bool clMPIProc::GetRank int *   ) 
 

Get rank of this MPI node.

Parameters:
ipRank Rank
Returns:
Success

Definition at line 63 of file Cluster.cc.

References bInitialized, and iError.

Referenced by main().

bool clMPIProc::GetNodeCount int *   ) 
 

Get number of nodes for this MPI process.

Parameters:
ipNodeCount Number of nodes
Returns:
Success

Definition at line 72 of file Cluster.cc.

References bInitialized, and iError.

Referenced by main().

int clMPIProc::GetError  )  [inline]
 

Get error code.

Returns:
Error code

Definition at line 75 of file Cluster.hh.

References iError.


Member Data Documentation

bool clMPIProc::bInitialized [private]
 

Definition at line 37 of file Cluster.hh.

Referenced by clMPIProc(), Finalize(), GetNodeCount(), GetRank(), Initialize(), and ~clMPIProc().

int clMPIProc::iError [private]
 

Definition at line 38 of file Cluster.hh.

Referenced by clMPIProc(), Finalize(), GetError(), GetNodeCount(), GetRank(), and Initialize().


The documentation for this class was generated from the following files:
Generated on Sun Oct 26 19:12:22 2003 for HASAS by doxygen 1.3.3