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

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 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

◆ 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.

◆ 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).


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