![]() |
Reference documentation for deal.II version 8.4.2
|
#include <deal.II/lac/trilinos_sparsity_pattern.h>
Public Types | |
| typedef ::types::global_dof_index | size_type |
Public Member Functions | |
| Iterator (const SparsityPattern *sparsity_pattern, const size_type row, const size_type index) | |
| Iterator (const Iterator &i) | |
| Iterator & | operator++ () |
| Iterator | operator++ (int) |
| const Accessor & | operator* () const |
| const Accessor * | operator-> () const |
| bool | operator== (const Iterator &) const |
| bool | operator!= (const Iterator &) const |
| bool | operator< (const Iterator &) const |
| DeclException2 (ExcInvalidIndexWithinRow, size_type, size_type,<< "Attempt to access element "<< arg2<< " of row "<< arg1<< " which doesn't have that many elements.") | |
Private Attributes | |
| Accessor | accessor |
Friends | |
| class | TrilinosWrappers::SparsityPattern |
Iterator class for sparsity patterns of type TrilinosWrappers::SparsityPattern. Access to individual elements of the sparsity pattern is handled by the Accessor class in this namespace.
Definition at line 173 of file trilinos_sparsity_pattern.h.
Declare type for container size.
Definition at line 179 of file trilinos_sparsity_pattern.h.
| TrilinosWrappers::SparsityPatternIterators::Iterator::Iterator | ( | const SparsityPattern * | sparsity_pattern, |
| const size_type | row, | ||
| const size_type | index | ||
| ) |
Constructor. Create an iterator into the matrix matrix for the given row and the index within it.
| TrilinosWrappers::SparsityPatternIterators::Iterator::Iterator | ( | const Iterator & | i | ) |
Copy constructor.
| Iterator& TrilinosWrappers::SparsityPatternIterators::Iterator::operator++ | ( | ) |
Prefix increment.
| Iterator TrilinosWrappers::SparsityPatternIterators::Iterator::operator++ | ( | int | ) |
Postfix increment.
| const Accessor& TrilinosWrappers::SparsityPatternIterators::Iterator::operator* | ( | ) | const |
Dereferencing operator.
| const Accessor* TrilinosWrappers::SparsityPatternIterators::Iterator::operator-> | ( | ) | const |
Dereferencing operator.
| bool TrilinosWrappers::SparsityPatternIterators::Iterator::operator== | ( | const Iterator & | ) | const |
Comparison. True, if both iterators point to the same matrix position.
| bool TrilinosWrappers::SparsityPatternIterators::Iterator::operator!= | ( | const Iterator & | ) | const |
Inverse of ==.
| bool TrilinosWrappers::SparsityPatternIterators::Iterator::operator< | ( | 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.
| TrilinosWrappers::SparsityPatternIterators::Iterator::DeclException2 | ( | ExcInvalidIndexWithinRow | , |
| size_type | , | ||
| size_type | , | ||
| << "Attempt to access element "<< arg2<< " of row "<< arg1<< " which doesn't have that many elements." | |||
| ) |
Exception
|
private |
Store an object of the accessor class.
Definition at line 245 of file trilinos_sparsity_pattern.h.
1.8.12