Classes | |
| class | Accessor |
Public Member Functions | |
| const_iterator (const SparsityPattern *sparsity_pattern, const unsigned int row, const unsigned int index) | |
| const_iterator & | operator++ () |
| const_iterator | operator++ (int) |
| const Accessor & | operator* () const |
| const Accessor * | operator-> () const |
| bool | operator== (const const_iterator &) const |
| bool | operator!= (const const_iterator &) const |
| bool | operator< (const const_iterator &) const |
Static Public Member Functions | |
| ::ExceptionBase & | ExcInvalidIndexWithinRow (int arg1, int arg2) throw (errortext << "Attempt to access element " << arg2 << " of row " << arg1 << " which doesn't have that many elements." ) |
Private Attributes | |
| Accessor | accessor |
Friends | |
| class | TrilinosWrappers::SparsityPattern |
STL conforming iterator. This class acts as an iterator walking over the elements of Trilinos sparsity pattern.
Definition at line 61 of file trilinos_sparsity_pattern.h.
| TrilinosWrappers::SparsityPatternIterators::const_iterator::const_iterator | ( | const SparsityPattern * | sparsity_pattern, |
| const unsigned int | row, | ||
| const unsigned int | index | ||
| ) |
Constructor. Create an iterator into the matrix matrix for the given row and the index within it.
| const_iterator& TrilinosWrappers::SparsityPatternIterators::const_iterator::operator++ | ( | ) |
Prefix increment.
| const_iterator TrilinosWrappers::SparsityPatternIterators::const_iterator::operator++ | ( | int | ) |
Postfix increment.
| const Accessor& TrilinosWrappers::SparsityPatternIterators::const_iterator::operator* | ( | ) | const |
Dereferencing operator.
| const Accessor* TrilinosWrappers::SparsityPatternIterators::const_iterator::operator-> | ( | ) | const |
Dereferencing operator.
| bool TrilinosWrappers::SparsityPatternIterators::const_iterator::operator== | ( | const const_iterator & | ) | const |
Comparison. True, if both iterators point to the same matrix position.
| bool TrilinosWrappers::SparsityPatternIterators::const_iterator::operator!= | ( | const const_iterator & | ) | const |
Inverse of ==.
| bool TrilinosWrappers::SparsityPatternIterators::const_iterator::operator< | ( | const const_iterator & | ) | const |
Comparison operator. Result is true if either the first row number is smaller or if the row numbers are equal and the first index is smaller.
| ::ExceptionBase& TrilinosWrappers::SparsityPatternIterators::const_iterator::ExcInvalidIndexWithinRow | ( | int | arg1, |
| int | arg2 | ||
| ) | throw (errortext << "Attempt to access element " << arg2 << " of row " << arg1 << " which doesn't have that many elements." ) [static] |
Exception
Store an object of the accessor class.
Definition at line 241 of file trilinos_sparsity_pattern.h.
documentation generated on Mon May 21 2012 12:06:37 by
doxygen
1.7.3