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

#include <snl_fei_RecordMsgHandler.hpp>

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

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 22 of file snl_fei_RecordMsgHandler.hpp.

Member Enumeration Documentation

anonymous enum

enumeration for operation-types

Definition at line 35 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 21 of file snl_fei_RecordMsgHandler.cpp.

snl_fei::RecordMsgHandler::~RecordMsgHandler ( )
virtual

destructor

Definition at line 39 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 43 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 49 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 55 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 74 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 91 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 54 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 57 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 61 of file snl_fei_RecordMsgHandler.hpp.


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