Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IParallelReplication Class Referenceabstract

Brief information on parallel subdomain replication. More...

#include <arcane/core/IParallelReplication.h>

Inheritance diagram for Arcane::IParallelReplication:
Collaboration diagram for Arcane::IParallelReplication:

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 IParallelMngreplicaParallelMng () const =0
 Communicator associated with all replicas representing the same subdomain.

Detailed Description

Brief information on parallel subdomain replication.

Definition at line 32 of file IParallelReplication.h.

Member Function Documentation

◆ hasReplication()

virtual bool Arcane::IParallelReplication::hasReplication ( ) const
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().

Here is the caller graph for this function:

◆ isMasterRank()

virtual bool Arcane::IParallelReplication::isMasterRank ( ) const
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().

Here is the caller graph for this function:

◆ masterReplicationRank()

virtual Int32 Arcane::IParallelReplication::masterReplicationRank ( ) const
pure virtual

Rank in the master replication.

Implemented in Arcane::ParallelReplication.

Referenced by Arcane::UnstructuredMeshUtilities::partitionAndExchangeMeshWithReplication().

Here is the caller graph for this function:

◆ nbReplication()

virtual Int32 Arcane::IParallelReplication::nbReplication ( ) const
pure virtual

Number of replications.

Implemented in Arcane::ParallelReplication.

Referenced by Arcane::CheckpointMng::_writeCheckpointInfoFile(), and Arcane::ArcaneSession::setLogAndErrorFiles().

Here is the caller graph for this function:

◆ replicaParallelMng()

virtual IParallelMng * Arcane::IParallelReplication::replicaParallelMng ( ) const
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().

Here is the caller graph for this function:

◆ replicationRank()

virtual Int32 Arcane::IParallelReplication::replicationRank ( ) const
pure virtual

Rank in the replication (from 0 to nbReplication()-1).

Implemented in Arcane::ParallelReplication.

Referenced by Arcane::ArcaneSession::setLogAndErrorFiles().

Here is the caller graph for this function:

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