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

Public Member Functions

 SimpleCSRVectorRedistributor (const RedistributorCommPlan *commPlan, const VectorDistribution &src_dist)
void distribute (const SimpleCSRVector< Real > &src, SimpleCSRVector< Real > &tgt)
void distributeBack (const SimpleCSRVector< Real > &src, SimpleCSRVector< Real > &tgt)
Int32 rcvSize () const
Int32 rcvBackSize () const

Private Member Functions

void _computeCommPlan (const VectorDistribution &src_dist)

Private Attributes

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

Detailed Description

Definition at line 30 of file SimpleCSRVectorRedistributor.h.

Constructor & Destructor Documentation

◆ SimpleCSRVectorRedistributor()

Alien::SimpleCSRVectorRedistributor::SimpleCSRVectorRedistributor ( const RedistributorCommPlan * commPlan,
const VectorDistribution & src_dist )

Definition at line 29 of file SimpleCSRVectorRedistributor.cc.

◆ ~SimpleCSRVectorRedistributor()

Alien::SimpleCSRVectorRedistributor::~SimpleCSRVectorRedistributor ( )
virtual

Definition at line 37 of file SimpleCSRVectorRedistributor.cc.

Member Function Documentation

◆ _computeCommPlan()

void Alien::SimpleCSRVectorRedistributor::_computeCommPlan ( const VectorDistribution & src_dist)
private

Definition at line 39 of file SimpleCSRVectorRedistributor.cc.

◆ distribute()

void Alien::SimpleCSRVectorRedistributor::distribute ( const SimpleCSRVector< Real > & src,
SimpleCSRVector< Real > & tgt )

Definition at line 88 of file SimpleCSRVectorRedistributor.cc.

◆ distributeBack()

void Alien::SimpleCSRVectorRedistributor::distributeBack ( const SimpleCSRVector< Real > & src,
SimpleCSRVector< Real > & tgt )

Definition at line 103 of file SimpleCSRVectorRedistributor.cc.

◆ rcvBackSize()

Int32 Alien::SimpleCSRVectorRedistributor::rcvBackSize ( ) const
inline

Definition at line 42 of file SimpleCSRVectorRedistributor.h.

◆ rcvSize()

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

Definition at line 40 of file SimpleCSRVectorRedistributor.h.

Member Data Documentation

◆ m_comm_plan

const RedistributorCommPlan* Alien::SimpleCSRVectorRedistributor::m_comm_plan
private

Definition at line 48 of file SimpleCSRVectorRedistributor.h.

◆ m_pm_dst

IMessagePassingMng* Alien::SimpleCSRVectorRedistributor::m_pm_dst
private

Definition at line 50 of file SimpleCSRVectorRedistributor.h.

◆ m_pm_super

IMessagePassingMng* Alien::SimpleCSRVectorRedistributor::m_pm_super
private

Definition at line 49 of file SimpleCSRVectorRedistributor.h.

◆ m_rcv_offset

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

Definition at line 54 of file SimpleCSRVectorRedistributor.h.

◆ m_snd_offset

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

Definition at line 53 of file SimpleCSRVectorRedistributor.h.


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