Reference documentation for deal.II version 8.5.1
|
#include <deal.II/lac/chunk_sparsity_pattern.h>
Public Member Functions | |
Iterator (const ChunkSparsityPattern *sp, const unsigned int row) | |
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 |
Private Attributes | |
Accessor | accessor |
Iterator that walks over the elements of a sparsity pattern.
Definition at line 157 of file chunk_sparsity_pattern.h.
ChunkSparsityPatternIterators::Iterator::Iterator | ( | const ChunkSparsityPattern * | sp, |
const unsigned int | row | ||
) |
Constructor. Create an iterator into the sparsity pattern sp
for the given row and the index within it.
Iterator& ChunkSparsityPatternIterators::Iterator::operator++ | ( | ) |
Prefix increment.
Iterator ChunkSparsityPatternIterators::Iterator::operator++ | ( | int | ) |
Postfix increment.
const Accessor& ChunkSparsityPatternIterators::Iterator::operator* | ( | ) | const |
Dereferencing operator.
const Accessor* ChunkSparsityPatternIterators::Iterator::operator-> | ( | ) | const |
Dereferencing operator.
bool ChunkSparsityPatternIterators::Iterator::operator== | ( | const Iterator & | ) | const |
Comparison. True, if both iterators point to the same matrix position.
bool ChunkSparsityPatternIterators::Iterator::operator!= | ( | const Iterator & | ) | const |
Inverse of ==
.
bool ChunkSparsityPatternIterators::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.
This function is only valid if both iterators point into the same matrix.
|
private |
Store an object of the accessor class.
Definition at line 210 of file chunk_sparsity_pattern.h.