Reference documentation for deal.II version Git 9e557027ad 20210925 18:07:42 +0200

#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 188 of file dynamic_sparsity_pattern.h.

inline 
Constructor. Create an iterator into the sparsity pattern sp
for the given global index (i.e., the index of the given element counting from the zeroth row).
Definition at line 906 of file dynamic_sparsity_pattern.h.

inline 
Constructor. Create an invalid (end) iterator into the sparsity pattern sp
.
Definition at line 914 of file dynamic_sparsity_pattern.h.

default 
Default constructor creating an invalid iterator. This constructor is here only to be able to store iterators in STL containers such as std::vector
.

inline 
Prefix increment.
Definition at line 921 of file dynamic_sparsity_pattern.h.
Postfix increment.
Definition at line 930 of file dynamic_sparsity_pattern.h.

inline 
Dereferencing operator.
Definition at line 940 of file dynamic_sparsity_pattern.h.

inline 
Dereferencing operator.
Definition at line 948 of file dynamic_sparsity_pattern.h.
Comparison. True, if both iterators point to the same matrix position.
Definition at line 955 of file dynamic_sparsity_pattern.h.
Inverse of ==
.
Definition at line 963 of file dynamic_sparsity_pattern.h.
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.
This function is only valid if both iterators point into the same matrix.
Definition at line 970 of file dynamic_sparsity_pattern.h.
Return the distance between the current iterator and the argument. The distance is given by how many times one has to apply operator++ to the current iterator to get the argument (for a positive return value), or operator (for a negative return value).
Definition at line 977 of file dynamic_sparsity_pattern.h.

private 
Store an object of the accessor class.
Definition at line 272 of file dynamic_sparsity_pattern.h.