Epetra Package Browser (Single Doxygen Collection)
Development
|
Store some data for each row describing which entries of this row are nonzero. More...
Public Member Functions | |
void | AddEntry (const int_type col_num) |
Add the given column number to this line. More... | |
void | AddEntries (const int n_cols, const int_type *col_nums) |
Add many entries to one row. More... | |
Public Attributes | |
std::vector< int_type > | entries_ |
Storage for the column indices of this row. More... | |
Store some data for each row describing which entries of this row are nonzero.
Data is stored sorted in the entries
std::vector which is kept sorted and without duplicates. The vector of indices per row is dynamically growing upon insertion.
Definition at line 117 of file Epetra_CrsGraphData.h.
template void Epetra_CrsGraphData::EntriesInOneRow< int_type >::AddEntry | ( | const int_type | col_num | ) |
Add the given column number to this line.
Definition at line 409 of file Epetra_CrsGraphData.cpp.
template void Epetra_CrsGraphData::EntriesInOneRow< int_type >::AddEntries | ( | const int | n_cols, |
const int_type * | col_nums | ||
) |
Add many entries to one row.
Definition at line 436 of file Epetra_CrsGraphData.cpp.
std::vector<int_type> Epetra_CrsGraphData::EntriesInOneRow< int_type >::entries_ |
Storage for the column indices of this row.
This array is always kept sorted.
Definition at line 125 of file Epetra_CrsGraphData.h.