Jive reference manual
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions
jive::mp::VectorExchanger Class Reference

#include <jive/mp/VectorExchanger.h>

Inheritance diagram for jive::mp::VectorExchanger:
Inheritance graph

Public Member Functions

 VectorExchanger (const Ref< Context > &mpx, const Ref< DofSpace > &dofs, const BorderSet &borders)
 
 VectorExchanger (const Ref< Context > &mpx, const Ref< DofSpace > &dofs, const BorderSet &recvBorders, const BorderSet &sendBorders)
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
void barrier ()
 
void startOne (int mode)
 
void endOne (const Vector &vec)
 
void endOne (const Vector &recvVec, const Vector &sendVec)
 
void startSome (int mode, const IdxVector &sendTags)
 
void endSome (Matrix &recvVecs, IdxVector &recvTags, const Matrix &sendVecs, const IdxVector &sendTags)
 
void exchange (const Vector &vec)
 
void exchange (const Vector &recvVec, const Vector &sendVec)
 
void exchange (Matrix &recvVecs, IdxVector &recvTags, const Matrix &sendVecs, const IdxVector &sendTags)
 
void scatter (const Vector &vec)
 
void scatter (const Vector &recvVec, const Vector &sendVec)
 
void scatter (Matrix &recvVecs, IdxVector &recvTags, const Matrix &sendVecs, const IdxVector &sendTags)
 
ContextgetMPContext () const
 
DofSpacegetDofSpace () const
 
BorderSet getRecvBorders () const
 
BorderSet getSendBorders () const
 
bool hasOverlap () const
 
bool isDistributed () const
 
IdxVector getRecvDofs (int mode) const
 
IdxVector getSendDofs (int mode) const
 
void store (const Properties &globdat) const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Static Public Member Functions

static Ref< Self > find (const Ref< DofSpace > &dofs, const Properties &globdat)
 
static Ref< Self > get (const Ref< DofSpace > &dofs, const Properties &globdat)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Protected Member Functions

virtual ~VectorExchanger ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Constructor & Destructor Documentation

jive::mp::VectorExchanger::VectorExchanger ( const Ref< Context > &  mpx,
const Ref< DofSpace > &  dofs,
const BorderSet borders 
)
jive::mp::VectorExchanger::VectorExchanger ( const Ref< Context > &  mpx,
const Ref< DofSpace > &  dofs,
const BorderSet recvBorders,
const BorderSet sendBorders 
)
virtual jive::mp::VectorExchanger::~VectorExchanger ( )
protectedvirtual

Member Function Documentation

virtual String jive::mp::VectorExchanger::toString ( ) const
virtual

Returns a short textual description of this object. The toString method of the class Object returns:

getClass()->getName() + "@" + String( hashValue() )

Returns
A String representing this object.

Reimplemented from jem::Object.

void jive::mp::VectorExchanger::barrier ( )
void jive::mp::VectorExchanger::startOne ( int  mode)
void jive::mp::VectorExchanger::endOne ( const Vector &  vec)
void jive::mp::VectorExchanger::endOne ( const Vector &  recvVec,
const Vector &  sendVec 
)
void jive::mp::VectorExchanger::startSome ( int  mode,
const IdxVector &  sendTags 
)
void jive::mp::VectorExchanger::endSome ( Matrix &  recvVecs,
IdxVector &  recvTags,
const Matrix &  sendVecs,
const IdxVector &  sendTags 
)
void jive::mp::VectorExchanger::exchange ( const Vector &  vec)
void jive::mp::VectorExchanger::exchange ( const Vector &  recvVec,
const Vector &  sendVec 
)
void jive::mp::VectorExchanger::exchange ( Matrix &  recvVecs,
IdxVector &  recvTags,
const Matrix &  sendVecs,
const IdxVector &  sendTags 
)
void jive::mp::VectorExchanger::scatter ( const Vector &  vec)
void jive::mp::VectorExchanger::scatter ( const Vector &  recvVec,
const Vector &  sendVec 
)
void jive::mp::VectorExchanger::scatter ( Matrix &  recvVecs,
IdxVector &  recvTags,
const Matrix &  sendVecs,
const IdxVector &  sendTags 
)
Context * jive::mp::VectorExchanger::getMPContext ( ) const
DofSpace * jive::mp::VectorExchanger::getDofSpace ( ) const
BorderSet jive::mp::VectorExchanger::getRecvBorders ( ) const
BorderSet jive::mp::VectorExchanger::getSendBorders ( ) const
bool jive::mp::VectorExchanger::hasOverlap ( ) const
bool jive::mp::VectorExchanger::isDistributed ( ) const
IdxVector jive::mp::VectorExchanger::getRecvDofs ( int  mode) const
IdxVector jive::mp::VectorExchanger::getSendDofs ( int  mode) const
void jive::mp::VectorExchanger::store ( const Properties globdat) const
static Ref<Self> jive::mp::VectorExchanger::find ( const Ref< DofSpace > &  dofs,
const Properties globdat 
)
static
static Ref<Self> jive::mp::VectorExchanger::get ( const Ref< DofSpace > &  dofs,
const Properties globdat 
)
static