FEI Version of the Day
Public Types | Public Member Functions
snl_fei::RecordMsgHandler Class Reference

#include <snl_fei_RecordMsgHandler.hpp>

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

List of all members.

Public Types

enum  

Public Member Functions

 RecordMsgHandler (int localProc, RecordCollection *recordCollection, snl_fei::PointBlockMap &ptBlkMap, std::vector< fei::FieldMask * > &fieldMasks, std::vector< int > &eqnNumbers)
virtual ~RecordMsgHandler ()
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 setTask (int task)
void setSendPattern (fei::comm_map *pattern)
void setRecvPattern (fei::comm_map *pattern)

Detailed Description

Implementation of MessageHandler specialized for Record objects.

Definition at line 57 of file snl_fei_RecordMsgHandler.hpp.


Member Enumeration Documentation

anonymous enum

enumeration for operation-types

Definition at line 70 of file snl_fei_RecordMsgHandler.hpp.


Constructor & Destructor Documentation

snl_fei::RecordMsgHandler::RecordMsgHandler ( int  localProc,
RecordCollection recordCollection,
snl_fei::PointBlockMap ptBlkMap,
std::vector< fei::FieldMask * > &  fieldMasks,
std::vector< int > &  eqnNumbers 
)

constructor

Definition at line 56 of file snl_fei_RecordMsgHandler.cpp.

snl_fei::RecordMsgHandler::~RecordMsgHandler ( ) [virtual]

destructor

Definition at line 74 of file snl_fei_RecordMsgHandler.cpp.


Member Function Documentation

std::vector< int > & snl_fei::RecordMsgHandler::getSendProcs ( ) [virtual]

Get list of processors to be sent to.

Implements fei::MessageHandler< int >.

Definition at line 78 of file snl_fei_RecordMsgHandler.cpp.

std::vector< int > & snl_fei::RecordMsgHandler::getRecvProcs ( ) [virtual]

Get list of processors to be received from.

Implements fei::MessageHandler< int >.

Definition at line 84 of file snl_fei_RecordMsgHandler.cpp.

int snl_fei::RecordMsgHandler::getSendMessageLength ( int  destProc,
int &  messageLength 
) [virtual]

Get length of message to be sent to a specified processor.

Implements fei::MessageHandler< int >.

Definition at line 90 of file snl_fei_RecordMsgHandler.cpp.

int snl_fei::RecordMsgHandler::getSendMessage ( int  destProc,
std::vector< int > &  message 
) [virtual]

Get message data to be sent to specified processor.

Implements fei::MessageHandler< int >.

Definition at line 109 of file snl_fei_RecordMsgHandler.cpp.

int snl_fei::RecordMsgHandler::processRecvMessage ( int  srcProc,
std::vector< int > &  message 
) [virtual]

Process a message received from a specified processor.

Implements fei::MessageHandler< int >.

Definition at line 126 of file snl_fei_RecordMsgHandler.cpp.

void snl_fei::RecordMsgHandler::setTask ( int  task) [inline]

clumsy method for specifying the next operation to be performed.

Definition at line 89 of file snl_fei_RecordMsgHandler.hpp.

void snl_fei::RecordMsgHandler::setSendPattern ( fei::comm_map pattern) [inline]

Set the pattern that specifies processors to be sent to.

Definition at line 92 of file snl_fei_RecordMsgHandler.hpp.

void snl_fei::RecordMsgHandler::setRecvPattern ( fei::comm_map pattern) [inline]

Set the pattern that specifies processors to be received from.

Definition at line 96 of file snl_fei_RecordMsgHandler.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends