![]() |
Reference documentation for deal.II version 9.5.1
|
#include <deal.II/lac/trilinos_sparsity_pattern.h>
Public Types | |
| using | size_type = ::types::global_dof_index |
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 |
Static Public Member Functions | |
| static ::ExceptionBase & | ExcInvalidIndexWithinRow (size_type arg1, size_type arg2) |
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 170 of file trilinos_sparsity_pattern.h.
Declare type for container size.
Definition at line 176 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.
Copy constructor.
| Iterator & TrilinosWrappers::SparsityPatternIterators::Iterator::operator++ | ( | ) |
Prefix increment.
Postfix increment.
Dereferencing operator.
Dereferencing operator.
Comparison. True, if both iterators point to the same matrix position.
Inverse of ==.
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.
Definition at line 251 of file trilinos_sparsity_pattern.h.
|
private |
Store an object of the accessor class.
Definition at line 249 of file trilinos_sparsity_pattern.h.