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::SubdMsgHandler Class Reference

#include <snl_fei_SubdMsgHandler.hpp>

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

Public Member Functions

 SubdMsgHandler (RecordCollection *recordCollection, fei::SharedIDs< int > *sharedIDTable, fei::SharedIDs< int > *subdomainIDTable)
 
virtual ~SubdMsgHandler ()
 
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)
 
void setSendPattern (fei::comm_map *pattern)
 
void setRecvPattern (fei::comm_map *pattern)
 

Detailed Description

implementation of MessageHandler for subdomain data

Definition at line 24 of file snl_fei_SubdMsgHandler.hpp.

Constructor & Destructor Documentation

snl_fei::SubdMsgHandler::SubdMsgHandler ( RecordCollection recordCollection,
fei::SharedIDs< int > *  sharedIDTable,
fei::SharedIDs< int > *  subdomainIDTable 
)

constructor

Definition at line 20 of file snl_fei_SubdMsgHandler.cpp.

snl_fei::SubdMsgHandler::~SubdMsgHandler ( )
virtual

destructor

Definition at line 33 of file snl_fei_SubdMsgHandler.cpp.

Member Function Documentation

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

get list of processors to be sent to

Implements fei::MessageHandler< int >.

Definition at line 37 of file snl_fei_SubdMsgHandler.cpp.

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

get list of processors to be recvd from

Implements fei::MessageHandler< int >.

Definition at line 43 of file snl_fei_SubdMsgHandler.cpp.

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

get length of message to be sent to specified proc

Implements fei::MessageHandler< int >.

Definition at line 49 of file snl_fei_SubdMsgHandler.cpp.

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

get message to be sent to specified proc

Implements fei::MessageHandler< int >.

Definition at line 63 of file snl_fei_SubdMsgHandler.cpp.

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

process message received from specified recv proc

Implements fei::MessageHandler< int >.

Definition at line 94 of file snl_fei_SubdMsgHandler.cpp.

void snl_fei::SubdMsgHandler::setSendPattern ( fei::comm_map pattern)
inline

set pattern describing procs to be sent to

Definition at line 49 of file snl_fei_SubdMsgHandler.hpp.

void snl_fei::SubdMsgHandler::setRecvPattern ( fei::comm_map pattern)
inline

set pattern describing procs to be recvd from

Definition at line 53 of file snl_fei_SubdMsgHandler.hpp.


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