FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
fei::SparseRowGraph Class Reference

#include <fei_SparseRowGraph.hpp>

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 23 of file fei_SparseRowGraph.hpp.

Constructor & Destructor Documentation

fei::SparseRowGraph::SparseRowGraph ( )
inline

Default constructor

Definition at line 26 of file fei_SparseRowGraph.hpp.

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

Copy constructor

Definition at line 31 of file fei_SparseRowGraph.hpp.

virtual fei::SparseRowGraph::~SparseRowGraph ( )
inlinevirtual

Destructor

Definition at line 37 of file fei_SparseRowGraph.hpp.

Member Function Documentation

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

comparison operator

Definition at line 65 of file fei_SparseRowGraph.hpp.

References packedColumnIndices, rowNumbers, and rowOffsets.

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

not-equal operator

Definition at line 73 of file fei_SparseRowGraph.hpp.

Member Data Documentation

std::vector<int> fei::SparseRowGraph::rowNumbers
std::vector<int> fei::SparseRowGraph::rowOffsets

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 54 of file fei_SparseRowGraph.hpp.

Referenced by fei::add_CSRMat_to_FillableMat(), fei::impl_utils::add_to_graph(), fei::impl_utils::add_to_matrix(), fei::Reducer::addGraphEntries(), EqnCommMgr::addRemoteEqns(), fei::Matrix_Local::copyOutRow(), fei::copyToSparseRowGraph(), SNL_FEI_Structure::createMatrixPositions(), fei::createSparseRowGraph(), snl_fei::LinearSystem_General::enforceEssentialBC_LinSysCore(), fei::find_row_start(), fei::Matrix_core::gatherFromOverlap(), snl_fei::gatherRemoteEssBCs(), fei::Matrix_Local::getRowLength(), fei::Matrix_Local::getRowOffsets(), fei::Reducer::getSlaveMasterEqns(), fei::Matrix_Local::giveToMatrix(), fei::Matrix_Impl< T >::Matrix_Impl(), snl_fei::mergeSparseRowGraphs(), fei::multiply_CSRMat_CSRMat(), fei::multiply_CSRMat_CSVec(), fei::multiply_trans_CSRMat_CSRMat(), fei::multiply_trans_CSRMat_CSVec(), operator<<(), fei::CSRMat::operator=(), operator==(), fei::Reducer::setLocalUnreducedEqns(), snl_fei::Broker_LinSysCore::setMatrixStructure(), LinSysCoreFilter::sumIntoMatrix(), test_MatrixGraph::test1(), test_MatrixGraph::test3(), test_MatrixGraph::test4(), test_MatrixGraph::test5(), fei::impl_utils::unpack_CSRMat(), and fei::Matrix_Local::writeToStream().

std::vector<int> fei::SparseRowGraph::packedColumnIndices
bool fei::SparseRowGraph::blockEntries

whether this graph represents a block-entry matrix.

Definition at line 62 of file fei_SparseRowGraph.hpp.

Referenced by fei::MatrixGraph_Impl2::createGraph().


The documentation for this class was generated from the following file: