Brief information on parallel subdomain replication. More...
#include <arcane/core/IParallelReplication.h>
Public Member Functions | |
| virtual bool | hasReplication () const =0 |
| Indicates if replication is active. | |
| virtual Int32 | nbReplication () const =0 |
| Number of replications. | |
| virtual Int32 | replicationRank () const =0 |
| Rank in the replication (from 0 to nbReplication()-1). | |
| virtual bool | isMasterRank () const =0 |
| Indicates if this replication rank is the master. | |
| virtual Int32 | masterReplicationRank () const =0 |
| Rank in the master replication. | |
| virtual IParallelMng * | replicaParallelMng () const =0 |
| Communicator associated with all replicas representing the same subdomain. | |
Brief information on parallel subdomain replication.
Definition at line 32 of file IParallelReplication.h.
|
pure virtual |
Indicates if replication is active.
Implemented in Arcane::ParallelReplication.
Referenced by Arcane::mesh::DynamicMeshChecker::checkValidReplication(), Arcane::UnstructuredMeshUtilities::partitionAndExchangeMeshWithReplication(), Arcane::VariablePrivate::replicaParallelMng(), and Arcane::ArcaneSession::setLogAndErrorFiles().
|
pure virtual |
Indicates if this replication rank is the master.
This is useful for example for outputs, so that only one replica outputs the information.
Implemented in Arcane::ParallelReplication.
Referenced by Arcane::UnstructuredMeshUtilities::partitionAndExchangeMeshWithReplication().
|
pure virtual |
Rank in the master replication.
Implemented in Arcane::ParallelReplication.
Referenced by Arcane::UnstructuredMeshUtilities::partitionAndExchangeMeshWithReplication().
|
pure virtual |
Number of replications.
Implemented in Arcane::ParallelReplication.
Referenced by Arcane::CheckpointMng::_writeCheckpointInfoFile(), and Arcane::ArcaneSession::setLogAndErrorFiles().
|
pure virtual |
Communicator associated with all replicas representing the same subdomain.
Is 0 if there is no replication (hasReplication() is false).
Implemented in Arcane::ParallelReplication.
Referenced by Arcane::mesh::DynamicMeshChecker::checkValidReplication(), Arcane::UnstructuredMeshUtilities::partitionAndExchangeMeshWithReplication(), and Arcane::VariablePrivate::replicaParallelMng().
|
pure virtual |
Rank in the replication (from 0 to nbReplication()-1).
Implemented in Arcane::ParallelReplication.
Referenced by Arcane::ArcaneSession::setLogAndErrorFiles().