FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <snl_fei_BlkSizeMsgHandler.hpp>
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) |
Public Member Functions inherited from fei::MessageHandler< int > | |
virtual | ~MessageHandler () |
Private Attributes | |
fei::comm_map * | remote_colIndices_ |
fei::comm_map * | local_colIndices_ |
fei::VectorSpace * | vecSpace_ |
snl_fei::PointBlockMap * | ptBlkMap_ |
fei::Graph * | graph_ |
MPI_Comm | comm_ |
std::vector< int > | sendProcs_ |
std::vector< int > | recvProcs_ |
bool | firstExchange_ |
MessageHandler implementation for block-size data.
Definition at line 21 of file snl_fei_BlkSizeMsgHandler.hpp.
snl_fei::BlkSizeMsgHandler::BlkSizeMsgHandler | ( | fei::VectorSpace * | vspace, |
fei::Graph * | graph, | ||
MPI_Comm | comm | ||
) |
constructor
Definition at line 33 of file snl_fei_BlkSizeMsgHandler.cpp.
References fei::VectorSpace::getPointBlockMap(), local_colIndices_, ptBlkMap_, and remote_colIndices_.
|
virtual |
destructor
Definition at line 53 of file snl_fei_BlkSizeMsgHandler.cpp.
int snl_fei::BlkSizeMsgHandler::do_the_exchange | ( | ) |
clumsy method to launch the data exchange.
Definition at line 60 of file snl_fei_BlkSizeMsgHandler.cpp.
References snl_fei::RaggedTable< MAP_TYPE, SET_TYPE >::begin(), CHK_ERR, fei::copyKeysToVector(), snl_fei::RaggedTable< MAP_TYPE, SET_TYPE >::end(), fei::exchange(), fei::localProc(), fei::mirrorProcs(), and fei::numProcs().
|
virtual |
Get list of procs to send to.
Implements fei::MessageHandler< int >.
Definition at line 114 of file snl_fei_BlkSizeMsgHandler.cpp.
|
virtual |
Get list of procs to recv from.
Implements fei::MessageHandler< int >.
Definition at line 125 of file snl_fei_BlkSizeMsgHandler.cpp.
|
virtual |
Get length of message for specified destination proc.
Implements fei::MessageHandler< int >.
Definition at line 136 of file snl_fei_BlkSizeMsgHandler.cpp.
|
virtual |
Get message to send to specified destination proc.
Implements fei::MessageHandler< int >.
Definition at line 152 of file snl_fei_BlkSizeMsgHandler.cpp.
References CHK_ERR, and fei::copySetToArray().
|
virtual |
process message received from specified source proc.
Implements fei::MessageHandler< int >.
Definition at line 182 of file snl_fei_BlkSizeMsgHandler.cpp.
References CHK_ERR.
|
private |
Definition at line 46 of file snl_fei_BlkSizeMsgHandler.hpp.
Referenced by BlkSizeMsgHandler().
|
private |
Definition at line 47 of file snl_fei_BlkSizeMsgHandler.hpp.
Referenced by BlkSizeMsgHandler().
|
private |
Definition at line 48 of file snl_fei_BlkSizeMsgHandler.hpp.
|
private |
Definition at line 49 of file snl_fei_BlkSizeMsgHandler.hpp.
Referenced by BlkSizeMsgHandler().
|
private |
Definition at line 50 of file snl_fei_BlkSizeMsgHandler.hpp.
|
private |
Definition at line 51 of file snl_fei_BlkSizeMsgHandler.hpp.
|
private |
Definition at line 52 of file snl_fei_BlkSizeMsgHandler.hpp.
|
private |
Definition at line 53 of file snl_fei_BlkSizeMsgHandler.hpp.
|
private |
Definition at line 55 of file snl_fei_BlkSizeMsgHandler.hpp.