FEI Version of the Day
Public Member Functions | Public Attributes
fei::SparseRowGraph Class Reference

#include <fei_SparseRowGraph.hpp>

List of all members.

Public Member Functions

 SparseRowGraph ()
 SparseRowGraph (const SparseRowGraph &src)
virtual ~SparseRowGraph ()
bool operator== (const fei::SparseRowGraph &othergraph) const
bool operator!= (const fei::SparseRowGraph &othergraph) const

Public Attributes

std::vector< int > rowNumbers
std::vector< int > rowOffsets
std::vector< int > packedColumnIndices
bool blockEntries

Detailed Description

Extremely simple data container that represents a sparse row-oriented matrix-graph. Purely serial. If it is used to store the local portion of a distributed matrix-graph, the calling code is responsible for all knowledge related to parallelism.

Definition at line 58 of file fei_SparseRowGraph.hpp.

Constructor & Destructor Documentation

fei::SparseRowGraph::SparseRowGraph ( ) [inline]

Default constructor

Definition at line 61 of file fei_SparseRowGraph.hpp.

fei::SparseRowGraph::SparseRowGraph ( const SparseRowGraph src) [inline]

Copy constructor

Definition at line 66 of file fei_SparseRowGraph.hpp.

virtual fei::SparseRowGraph::~SparseRowGraph ( ) [inline, virtual]


Definition at line 72 of file fei_SparseRowGraph.hpp.

Member Function Documentation

bool fei::SparseRowGraph::operator== ( const fei::SparseRowGraph othergraph) const [inline]

comparison operator

Definition at line 100 of file fei_SparseRowGraph.hpp.

bool fei::SparseRowGraph::operator!= ( const fei::SparseRowGraph othergraph) const [inline]

not-equal operator

Definition at line 108 of file fei_SparseRowGraph.hpp.

Member Data Documentation

Local row-numbers.

Definition at line 81 of file fei_SparseRowGraph.hpp.

The starting offset of each row in the packedColumnIndices vector. The i-th row corresponds to positions rowOffsets[i] through rowOffsets[i+1]-1. Note that rowOffsets should have length rowNumbers.size()+1, and rowOffsets[rowNumbers.size()] == packedColumnIndices.size().

Definition at line 89 of file fei_SparseRowGraph.hpp.

Contiguous array of column-indices for all local rows. See the comments for the 'rowOffsets' attribute, for information about accessing column-indices for a particular row, etc.

Definition at line 94 of file fei_SparseRowGraph.hpp.

whether this graph represents a block-entry matrix.

Definition at line 97 of file fei_SparseRowGraph.hpp.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends