9 #ifndef _snl_fei_SubdMsgHandler_hpp_
10 #define _snl_fei_SubdMsgHandler_hpp_
12 #include <fei_macros.hpp>
13 #include <fei_CommUtils.hpp>
14 #include <fei_fwd.hpp>
19 template<
typename T>
class SharedIDs;
50 { sendPattern_ = pattern; }
54 { recvPattern_ = pattern; }
59 RecordCollection* recordCollection_;
63 std::vector<int> sendProcs_;
64 std::vector<int> recvProcs_;
68 #endif // _snl_fei_SubdMsgHandler_hpp_
virtual ~SubdMsgHandler()
int getSendMessage(int destProc, std::vector< int > &message)
std::vector< int > & getSendProcs()
std::vector< int > & getRecvProcs()
void setRecvPattern(fei::comm_map *pattern)
SubdMsgHandler(RecordCollection *recordCollection, fei::SharedIDs< int > *sharedIDTable, fei::SharedIDs< int > *subdomainIDTable)
int processRecvMessage(int srcProc, std::vector< int > &message)
int getSendMessageLength(int destProc, int &messageLength)
void setSendPattern(fei::comm_map *pattern)