fei::GraphReducer Class Reference

#include <fei_GraphReducer.hpp>

Inheritance diagram for fei::GraphReducer:
Inheritance graph
[legend]

List of all members.

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_typegetLocalGraph ()
std::vector< remote_table_type * > & getRemoteGraph ()
int writeLocalGraph (FEI_OSTREAM &os, bool debug=false, bool prefixLinesWithPoundSign=true)
int writeRemoteGraph (FEI_OSTREAM &os)

Detailed Description

Basic algebraic matrix-graph representation.

Definition at line 22 of file fei_GraphReducer.hpp.


Constructor & Destructor Documentation

fei::GraphReducer::GraphReducer ( fei::SharedPtr< fei::Reducer >  reducer,
fei::SharedPtr< fei::Graph target 
)

constructor

Definition at line 20 of file fei_GraphReducer.cpp.

fei::GraphReducer::~GraphReducer (  )  [virtual]

destructor

Definition at line 28 of file fei_GraphReducer.cpp.


Member Function Documentation

int fei::GraphReducer::addIndices ( int  row,
int  len,
const int *  indices 
) [virtual]

Add indices to a specified row of the table

Implements fei::Graph.

Definition at line 33 of file fei_GraphReducer.cpp.

int fei::GraphReducer::addSymmetricIndices ( int  numIndices,
int *  indices,
bool  diagonal = false 
) [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.

int fei::GraphReducer::gatherFromOverlap (  )  [virtual]

gather all remotely-owned table portions to owning processors

Implements fei::Graph.

Definition at line 61 of file fei_GraphReducer.cpp.

table_type* fei::GraphReducer::getLocalGraph (  )  [inline, virtual]

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.

std::vector<remote_table_type*>& fei::GraphReducer::getRemoteGraph (  )  [inline, virtual]

Retrieve the remotely-owned portion of the graph.

Implements fei::Graph.

Definition at line 54 of file fei_GraphReducer.hpp.

int fei::GraphReducer::writeLocalGraph ( FEI_OSTREAM &  os,
bool  debug = false,
bool  prefixLinesWithPoundSign = true 
) [virtual]

Write locally-owned portion of the graph to a specified ostream.

Implements fei::Graph.

Definition at line 48 of file fei_GraphReducer.cpp.

int fei::GraphReducer::writeRemoteGraph ( FEI_OSTREAM &  os  )  [virtual]

Write remotely-owned portion of the graph to a specified ostream.

Implements fei::Graph.

Definition at line 55 of file fei_GraphReducer.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Generated on Wed Apr 13 10:08:35 2011 for FEI by  doxygen 1.6.3