Diana  0.8.3
Public Member Functions | Private Member Functions | Private Attributes
CParallelEnv Class Reference

Diana parallel environment. More...

#include <ParallelEnv.hpp>

Inheritance diagram for CParallelEnv:
IParallelEnv IParallelEnv

List of all members.

Public Member Functions

void Initialize ()
void ShowInfo ()
CapeLong ProcessID () throw (Common::Error::ECapeUnknown)
CapeLong ProcessesNumber () throw (Common::Error::ECapeUnknown)
IDistributedMatrixCreateDistributedMatrix (CapeLong nRows=0, CapeLong nCols=0)
void Barrier ()
IParallelSolverCreateParallelSolver (const Common::Types::CapeString &_szConnectionsFileName) throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument)
void Initialize ()
void ShowInfo ()
CapeLong ProcessID () throw (Common::Error::ECapeUnknown)
CapeLong ProcessesNumber () throw (Common::Error::ECapeUnknown)
void Barrier ()
IDistributedMatrixCreateDistributedMatrix (CapeLong nRows, CapeLong nCols)
IParallelSolverCreateParallelSolver (const Common::Types::CapeString &_szConnectionsFileName) throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument)

Private Member Functions

CapeBoolean CheckInitializedMPD ()
void PrintErrorMessage (CapeString szMessage)

Private Attributes

CapeBoolean m_bIsInitialized
 flag which indicates initalization
ProcInfo m_ProcInfo
 Information about processor.
int m_nMyRank
 Rank (index) of current process.
int m_nProcQuantity
std::vector< CDistributedMatrix * > m_DistributedMatrixes
 Total processes quantity.
std::vector< CParallelSolver * > m_ParallelSolvers

Detailed Description

Diana parallel environment.

Dummy parallel environment. For possibility to compile diana without MPICH.

CParallelEnv. This is Parallel Environment. It is used for managing parallel simulation process. Parallel env. creates at the begin of simulation process. After that with help of a method AddSolver to the environment were added objects which are situated on that process. After that simulation started and on each iteration.

CParallelEnv.


Member Function Documentation

void Initialize ( ) [virtual]

Initializing of MPI (message passing interface).

Implements IParallelEnv.


The documentation for this class was generated from the following files: