FEI
Version of the Day
|
#include <fei_GraphReducer.hpp>
Public Member Functions | |
GraphReducer (fei::SharedPtr< fei::Reducer > reducer, fei::SharedPtr< fei::Graph > target) | |
virtual | ~GraphReducer () |
int | addIndices (int row, int len, const int *indices) |
int | addSymmetricIndices (int numIndices, int *indices, bool diagonal=false) |
int | gatherFromOverlap () |
table_type * | getLocalGraph () |
std::vector< remote_table_type * > & | getRemoteGraph () |
int | writeLocalGraph (FEI_OSTREAM &os, bool debug=false, bool prefixLinesWithPoundSign=true) |
int | writeRemoteGraph (FEI_OSTREAM &os) |
Public Member Functions inherited from fei::Graph | |
virtual | ~Graph () |
Additional Inherited Members | |
Public Types inherited from fei::Graph | |
typedef snl_fei::RaggedTable < snl_fei::MapContig < fei::ctg_set< int > * >, fei::ctg_set< int > > | table_type |
typedef fei::ctg_set< int > | table_row_type |
typedef snl_fei::RaggedTable < std::map< int, fei::ctg_set < int > * >, fei::ctg_set< int > > | remote_table_type |
Basic algebraic matrix-graph representation.
Definition at line 22 of file fei_GraphReducer.hpp.
fei::GraphReducer::GraphReducer | ( | fei::SharedPtr< fei::Reducer > | reducer, |
fei::SharedPtr< fei::Graph > | target | ||
) |
constructor
Definition at line 20 of file fei_GraphReducer.cpp.
|
virtual |
destructor
Definition at line 28 of file fei_GraphReducer.cpp.
|
virtual |
Add indices to a specified row of the table
Implements fei::Graph.
Definition at line 33 of file fei_GraphReducer.cpp.
|
virtual |
Add a symmetric block of indices. The array of indices will serve as
both row-numbers, and as column-numbers in those rows.
Implements fei::Graph.
Definition at line 40 of file fei_GraphReducer.cpp.
|
virtual |
gather all remotely-owned table portions to owning processors
Implements fei::Graph.
Definition at line 61 of file fei_GraphReducer.cpp.
|
inlinevirtual |
Retrieve the local portion of the graph. i.e., The rows which correspond to locally-owned IDs.
Implements fei::Graph.
Definition at line 48 of file fei_GraphReducer.hpp.
|
inlinevirtual |
Retrieve the remotely-owned portion of the graph.
Implements fei::Graph.
Definition at line 54 of file fei_GraphReducer.hpp.
|
virtual |
Write locally-owned portion of the graph to a specified ostream.
Implements fei::Graph.
Definition at line 48 of file fei_GraphReducer.cpp.
|
virtual |
Write remotely-owned portion of the graph to a specified ostream.
Implements fei::Graph.
Definition at line 55 of file fei_GraphReducer.cpp.