FEI  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
snl_fei::BlkSizeMsgHandler Class Reference

#include <snl_fei_BlkSizeMsgHandler.hpp>

Inheritance diagram for snl_fei::BlkSizeMsgHandler:
Inheritance graph
[legend]

Public Member Functions

 BlkSizeMsgHandler (fei::VectorSpace *vspace, fei::Graph *graph, MPI_Comm comm)
 
virtual ~BlkSizeMsgHandler ()
 
int do_the_exchange ()
 
std::vector< int > & getSendProcs ()
 
std::vector< int > & getRecvProcs ()
 
int getSendMessageLength (int destProc, int &messageLength)
 
int getSendMessage (int destProc, std::vector< int > &message)
 
int processRecvMessage (int srcProc, std::vector< int > &message)
 

Detailed Description

MessageHandler implementation for block-size data.

Definition at line 21 of file snl_fei_BlkSizeMsgHandler.hpp.

Constructor & Destructor Documentation

snl_fei::BlkSizeMsgHandler::BlkSizeMsgHandler ( fei::VectorSpace vspace,
fei::Graph graph,
MPI_Comm  comm 
)

constructor

Definition at line 33 of file snl_fei_BlkSizeMsgHandler.cpp.

snl_fei::BlkSizeMsgHandler::~BlkSizeMsgHandler ( )
virtual

destructor

Definition at line 53 of file snl_fei_BlkSizeMsgHandler.cpp.

Member Function Documentation

int snl_fei::BlkSizeMsgHandler::do_the_exchange ( )

clumsy method to launch the data exchange.

Definition at line 60 of file snl_fei_BlkSizeMsgHandler.cpp.

std::vector< int > & snl_fei::BlkSizeMsgHandler::getSendProcs ( )
virtual

Get list of procs to send to.

Implements fei::MessageHandler< int >.

Definition at line 114 of file snl_fei_BlkSizeMsgHandler.cpp.

std::vector< int > & snl_fei::BlkSizeMsgHandler::getRecvProcs ( )
virtual

Get list of procs to recv from.

Implements fei::MessageHandler< int >.

Definition at line 125 of file snl_fei_BlkSizeMsgHandler.cpp.

int snl_fei::BlkSizeMsgHandler::getSendMessageLength ( int  destProc,
int &  messageLength 
)
virtual

Get length of message for specified destination proc.

Implements fei::MessageHandler< int >.

Definition at line 136 of file snl_fei_BlkSizeMsgHandler.cpp.

int snl_fei::BlkSizeMsgHandler::getSendMessage ( int  destProc,
std::vector< int > &  message 
)
virtual

Get message to send to specified destination proc.

Implements fei::MessageHandler< int >.

Definition at line 152 of file snl_fei_BlkSizeMsgHandler.cpp.

int snl_fei::BlkSizeMsgHandler::processRecvMessage ( int  srcProc,
std::vector< int > &  message 
)
virtual

process message received from specified source proc.

Implements fei::MessageHandler< int >.

Definition at line 182 of file snl_fei_BlkSizeMsgHandler.cpp.


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