![]() |
Reference documentation for deal.II version 8.1.0
|
#include <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 193 of file trilinos_sparsity_pattern.h.
Declare type for container size.
Definition at line 199 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.
Postfix increment.
const Accessor& TrilinosWrappers::SparsityPatternIterators::Iterator::operator* | ( | ) | const |
Dereferencing operator.
const Accessor* TrilinosWrappers::SparsityPatternIterators::Iterator::operator-> | ( | ) | const |
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.
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 272 of file trilinos_sparsity_pattern.h.