Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
Alien::DoKDistributorComm Class Reference
Collaboration diagram for Alien::DoKDistributorComm:

Public Types

typedef IReverseIndexer::Index Index

Public Member Functions

 DoKDistributorComm (const RedistributorCommPlan *commPlan)
 Construct a DoKDistributorComm object over parallelMng:
 DoKDistributorComm (const DoKDistributorComm &src)=delete
DoKDistributorCommoperator= (const DoKDistributorComm &src)=delete
 DoKDistributorComm (const DoKDistributorComm &&src)=delete
DoKDistributorCommoperator= (DoKDistributorComm &&src)=delete
void computeCommPlan (IReverseIndexer *rev_index)
void computeCommPlan (Arccore::Span< Int32 >)
template<typename T>
void exchange (ConstArrayView< T > snd, ArrayView< T > rcv)
Int32 rcvSize () const
Index getCoordinates (Int32 offset) const

Private Attributes

const RedistributorCommPlanm_comm_plan
IMessagePassingMng * m_pm_super
IMessagePassingMng * m_pm_dst
UniqueArray< Int32 > m_snd_offset
UniqueArray< Int32 > m_rcv_offset
UniqueArray< Int32 > m_rcv_rows
UniqueArray< Int32 > m_rcv_cols

Detailed Description

Definition at line 33 of file DoKDistributorComm.h.

Member Typedef Documentation

◆ Index

typedef IReverseIndexer::Index Alien::DoKDistributorComm::Index

Definition at line 36 of file DoKDistributorComm.h.

Constructor & Destructor Documentation

◆ DoKDistributorComm()

Alien::DoKDistributorComm::DoKDistributorComm ( const RedistributorCommPlan * commPlan)
explicit

Construct a DoKDistributorComm object over parallelMng:

  • super is the master parallelMng
  • src is the source parallelMng, sub-communicator of super
  • dst is the destination parallelMng, sub-communicator of super.

Definition at line 26 of file DoKDistributorComm.cc.

Member Function Documentation

◆ computeCommPlan() [1/2]

void Alien::DoKDistributorComm::computeCommPlan ( Arccore::Span< Int32 > base)

Definition at line 32 of file DoKDistributorComm.cc.

◆ computeCommPlan() [2/2]

void Alien::DoKDistributorComm::computeCommPlan ( IReverseIndexer * rev_index)

Definition at line 78 of file DoKDistributorComm.cc.

◆ exchange()

template<typename T>
void Alien::DoKDistributorComm::exchange ( ConstArrayView< T > snd,
ArrayView< T > rcv )
inline

Definition at line 59 of file DoKDistributorComm.h.

◆ getCoordinates()

Index Alien::DoKDistributorComm::getCoordinates ( Int32 offset) const
inline

Definition at line 67 of file DoKDistributorComm.h.

◆ rcvSize()

Int32 Alien::DoKDistributorComm::rcvSize ( ) const
inline

Definition at line 65 of file DoKDistributorComm.h.

Member Data Documentation

◆ m_comm_plan

const RedistributorCommPlan* Alien::DoKDistributorComm::m_comm_plan
private

Definition at line 75 of file DoKDistributorComm.h.

◆ m_pm_dst

IMessagePassingMng* Alien::DoKDistributorComm::m_pm_dst
private

Definition at line 77 of file DoKDistributorComm.h.

◆ m_pm_super

IMessagePassingMng* Alien::DoKDistributorComm::m_pm_super
private

Definition at line 76 of file DoKDistributorComm.h.

◆ m_rcv_cols

UniqueArray<Int32> Alien::DoKDistributorComm::m_rcv_cols
private

Definition at line 83 of file DoKDistributorComm.h.

◆ m_rcv_offset

UniqueArray<Int32> Alien::DoKDistributorComm::m_rcv_offset
private

Definition at line 81 of file DoKDistributorComm.h.

◆ m_rcv_rows

UniqueArray<Int32> Alien::DoKDistributorComm::m_rcv_rows
private

Definition at line 82 of file DoKDistributorComm.h.

◆ m_snd_offset

UniqueArray<Int32> Alien::DoKDistributorComm::m_snd_offset
private

Definition at line 80 of file DoKDistributorComm.h.


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