Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::MessagePassing::FullRankInfo Class Reference

Correspondence information between the different ranks of a communicator. More...

#include <arcane/parallel/mpithread/HybridMessageQueue.h>

Collaboration diagram for Arcane::MessagePassing::FullRankInfo:

Public Member Functions

MP::MessageRank localRank () const
 Local rank within the threads.
Int32 localRankValue () const
MP::MessageRank globalRank () const
 Global rank within the communicator.
Int32 globalRankValue () const
MP::MessageRank mpiRank () const
 Associated MPI rank.
Int32 mpiRankValue () const

Static Public Member Functions

static FullRankInfo compute (MP::MessageRank rank, Int32 local_nb_rank)

Private Attributes

MP::MessageRank m_local_rank
 Local rank within the threads.
MP::MessageRank m_global_rank
 Global rank within the communicator.
MP::MessageRank m_mpi_rank
 Associated MPI rank.

Friends

std::ostream & operator<< (std::ostream &o, const FullRankInfo &fri)

Detailed Description

Correspondence information between the different ranks of a communicator.

Definition at line 41 of file HybridMessageQueue.h.

Member Function Documentation

◆ compute()

FullRankInfo Arcane::MessagePassing::FullRankInfo::compute ( MP::MessageRank rank,
Int32 local_nb_rank )
inlinestatic

Definition at line 45 of file HybridMessageQueue.h.

◆ globalRank()

MP::MessageRank Arcane::MessagePassing::FullRankInfo::globalRank ( ) const
inline

Global rank within the communicator.

Definition at line 62 of file HybridMessageQueue.h.

References m_global_rank.

◆ globalRankValue()

Int32 Arcane::MessagePassing::FullRankInfo::globalRankValue ( ) const
inline

Definition at line 63 of file HybridMessageQueue.h.

◆ localRank()

MP::MessageRank Arcane::MessagePassing::FullRankInfo::localRank ( ) const
inline

Local rank within the threads.

Definition at line 59 of file HybridMessageQueue.h.

References m_local_rank.

◆ localRankValue()

Int32 Arcane::MessagePassing::FullRankInfo::localRankValue ( ) const
inline

Definition at line 60 of file HybridMessageQueue.h.

◆ mpiRank()

MP::MessageRank Arcane::MessagePassing::FullRankInfo::mpiRank ( ) const
inline

Associated MPI rank.

Definition at line 65 of file HybridMessageQueue.h.

References m_mpi_rank.

◆ mpiRankValue()

Int32 Arcane::MessagePassing::FullRankInfo::mpiRankValue ( ) const
inline

Definition at line 66 of file HybridMessageQueue.h.

◆ operator<<

std::ostream & operator<< ( std::ostream & o,
const FullRankInfo & fri )
friend

Definition at line 636 of file HybridMessageQueue.cc.

Member Data Documentation

◆ m_global_rank

MP::MessageRank Arcane::MessagePassing::FullRankInfo::m_global_rank
private

Global rank within the communicator.

Definition at line 73 of file HybridMessageQueue.h.

Referenced by globalRank().

◆ m_local_rank

MP::MessageRank Arcane::MessagePassing::FullRankInfo::m_local_rank
private

Local rank within the threads.

Definition at line 71 of file HybridMessageQueue.h.

Referenced by localRank().

◆ m_mpi_rank

MP::MessageRank Arcane::MessagePassing::FullRankInfo::m_mpi_rank
private

Associated MPI rank.

Definition at line 75 of file HybridMessageQueue.h.

Referenced by mpiRank().


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