Reference documentation for deal.II version 9.2.0
|
#include <deal.II/lac/dynamic_sparsity_pattern.h>
Public Member Functions | |
Iterator (const DynamicSparsityPattern *sp, const size_type row, const unsigned int index_within_row) | |
Iterator (const DynamicSparsityPattern *sp) | |
Iterator ()=default | |
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 |
int | operator- (const Iterator &p) const |
Private Attributes | |
Accessor | accessor |
An iterator class for walking over the elements of a sparsity pattern.
The typical use for these iterators is to iterate over the elements of a sparsity pattern (or, since they also serve as the basis for iterating over the elements of an associated matrix, over the elements of a sparse matrix), or over the elements of individual rows. There is no guarantee that the elements of a row are actually traversed in an order in which column numbers monotonically increase. See the documentation of the SparsityPattern class for more information.
Definition at line 191 of file dynamic_sparsity_pattern.h.