Reference documentation for deal.II version 9.0.0
|
#include <deal.II/lac/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 |
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 166 of file trilinos_sparsity_pattern.h.
Declare type for container size.
Definition at line 172 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.
Iterator TrilinosWrappers::SparsityPatternIterators::Iterator::operator++ | ( | int | ) |
Postfix increment.
const Accessor& TrilinosWrappers::SparsityPatternIterators::Iterator::operator* | ( | ) | const |
Dereferencing operator.
const Accessor* TrilinosWrappers::SparsityPatternIterators::Iterator::operator-> | ( | ) | const |
Dereferencing operator.
bool TrilinosWrappers::SparsityPatternIterators::Iterator::operator== | ( | const Iterator & | ) | const |
Comparison. True, if both iterators point to the same matrix position.
bool TrilinosWrappers::SparsityPatternIterators::Iterator::operator!= | ( | const Iterator & | ) | const |
Inverse of ==
.
bool TrilinosWrappers::SparsityPatternIterators::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.
|
private |
Store an object of the accessor class.
Definition at line 238 of file trilinos_sparsity_pattern.h.