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

Public Member Functions

 RedistributorCommPlan (int globalSize, IMessagePassingMng *super_pm, IMessagePassingMng *tgt_pm)
std::shared_ptr< IMessagePassingMng > tgtParallelMng () const
IMessagePassingMng * superParallelMng () const
const VectorDistributiondistribution () const
ConstArrayView< Int32 > tgtDist () const
Int32 procNum (Int32) const

Private Member Functions

void _buildTgtDist ()

Private Attributes

IMessagePassingMng * m_super_pm
IMessagePassingMng * m_tgt_pm
std::unique_ptr< VectorDistributionm_tgt_distribution
UniqueArray< Int32 > m_proc_num
 Distribution in the target pm.
UniqueArray< Int32 > m_tgt_dist
 Array for converting ranks from super to dst.

Detailed Description

Definition at line 29 of file RedistributorCommPlan.h.

Constructor & Destructor Documentation

◆ RedistributorCommPlan()

Alien::RedistributorCommPlan::RedistributorCommPlan ( int globalSize,
IMessagePassingMng * super_pm,
IMessagePassingMng * tgt_pm )

Definition at line 31 of file RedistributorCommPlan.cc.

◆ ~RedistributorCommPlan()

Alien::RedistributorCommPlan::~RedistributorCommPlan ( )
virtual

Definition at line 59 of file RedistributorCommPlan.cc.

Member Function Documentation

◆ _buildTgtDist()

void Alien::RedistributorCommPlan::_buildTgtDist ( )
private

Definition at line 90 of file RedistributorCommPlan.cc.

◆ distribution()

const VectorDistribution & Alien::RedistributorCommPlan::distribution ( ) const

Definition at line 74 of file RedistributorCommPlan.cc.

◆ procNum()

Int32 Alien::RedistributorCommPlan::procNum ( Int32 proc) const
nodiscard

Definition at line 85 of file RedistributorCommPlan.cc.

◆ superParallelMng()

IMessagePassingMng * Alien::RedistributorCommPlan::superParallelMng ( ) const

Definition at line 68 of file RedistributorCommPlan.cc.

◆ tgtDist()

ConstArrayView< Int32 > Alien::RedistributorCommPlan::tgtDist ( ) const

Definition at line 80 of file RedistributorCommPlan.cc.

◆ tgtParallelMng()

std::shared_ptr< IMessagePassingMng > Alien::RedistributorCommPlan::tgtParallelMng ( ) const

Definition at line 62 of file RedistributorCommPlan.cc.

Member Data Documentation

◆ m_proc_num

UniqueArray<Int32> Alien::RedistributorCommPlan::m_proc_num
private

Distribution in the target pm.

Definition at line 51 of file RedistributorCommPlan.h.

◆ m_super_pm

IMessagePassingMng* Alien::RedistributorCommPlan::m_super_pm
private

Definition at line 48 of file RedistributorCommPlan.h.

◆ m_tgt_dist

UniqueArray<Int32> Alien::RedistributorCommPlan::m_tgt_dist
private

Array for converting ranks from super to dst.

Definition at line 52 of file RedistributorCommPlan.h.

◆ m_tgt_distribution

std::unique_ptr<VectorDistribution> Alien::RedistributorCommPlan::m_tgt_distribution
private

Definition at line 50 of file RedistributorCommPlan.h.

◆ m_tgt_pm

IMessagePassingMng* Alien::RedistributorCommPlan::m_tgt_pm
private

Definition at line 49 of file RedistributorCommPlan.h.


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