Diana
0.8.3
|
Diana parallel environment. More...
#include <ParallelEnv.hpp>
Public Member Functions | |
void | Initialize () |
void | ShowInfo () |
CapeLong | ProcessID () throw (Common::Error::ECapeUnknown) |
CapeLong | ProcessesNumber () throw (Common::Error::ECapeUnknown) |
IDistributedMatrix * | CreateDistributedMatrix (CapeLong nRows=0, CapeLong nCols=0) |
void | Barrier () |
IParallelSolver * | CreateParallelSolver (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 () |
IDistributedMatrix * | CreateDistributedMatrix (CapeLong nRows, CapeLong nCols) |
IParallelSolver * | CreateParallelSolver (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 |
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.
void Initialize | ( | ) | [virtual] |
Initializing of MPI (message passing interface).
Implements IParallelEnv.