![]() |
Reference documentation for deal.II version 8.5.1
|
#include <deal.II/lac/block_matrix_base.h>
Public Types | |
typedef types::global_dof_index | size_type |
typedef const BlockMatrixType | MatrixType |
typedef BlockMatrixType::value_type | value_type |
![]() | |
typedef types::global_dof_index | size_type |
typedef BlockMatrixType::value_type | value_type |
Public Member Functions | |
Accessor (const BlockMatrixType *m, const size_type row, const size_type col) | |
Accessor (const Accessor< BlockMatrixType, false > &) | |
size_type | row () const |
size_type | column () const |
value_type | value () const |
![]() | |
AccessorBase () | |
unsigned int | block_row () const |
unsigned int | block_column () const |
Protected Member Functions | |
void | advance () |
bool | operator== (const Accessor &a) const |
Protected Attributes | |
const BlockMatrixType * | matrix |
BlockMatrixType::BlockType::const_iterator | base_iterator |
![]() | |
unsigned int | row_block |
unsigned int | col_block |
Friends | |
template<typename > | |
class | ::MatrixIterator |
Block matrix accessor for constant matrices, implementing the stepping through a matrix.
Definition at line 198 of file block_matrix_base.h.
typedef types::global_dof_index BlockMatrixIterators::Accessor< BlockMatrixType, true >::size_type |
Declare type for container size.
Definition at line 206 of file block_matrix_base.h.
typedef const BlockMatrixType BlockMatrixIterators::Accessor< BlockMatrixType, true >::MatrixType |
Type of the matrix used in this accessor.
Definition at line 211 of file block_matrix_base.h.
typedef BlockMatrixType::value_type BlockMatrixIterators::Accessor< BlockMatrixType, true >::value_type |
Typedef the value type of the matrix we point into.
Definition at line 216 of file block_matrix_base.h.
BlockMatrixIterators::Accessor< BlockMatrixType, true >::Accessor | ( | const BlockMatrixType * | m, |
const size_type | row, | ||
const size_type | col | ||
) |
Constructor. Since we use accessors only for read access, a const matrix pointer is sufficient.
Place the iterator at the beginning of the given row of the matrix, or create the end pointer if row
equals the total number of rows in the matrix.
BlockMatrixIterators::Accessor< BlockMatrixType, true >::Accessor | ( | const Accessor< BlockMatrixType, false > & | ) |
Initialize const accessor from non const accessor.
size_type BlockMatrixIterators::Accessor< BlockMatrixType, true >::row | ( | ) | const |
Row number of the element represented by this object.
size_type BlockMatrixIterators::Accessor< BlockMatrixType, true >::column | ( | ) | const |
Column number of the element represented by this object.
value_type BlockMatrixIterators::Accessor< BlockMatrixType, true >::value | ( | ) | const |
Value of the entry at the current position.
|
protected |
Move ahead one element.
|
protected |
Compare this accessor with another one for equality.
Let the iterator class be a friend.
Definition at line 274 of file block_matrix_base.h.
|
protected |
The matrix accessed.
Definition at line 253 of file block_matrix_base.h.
|
protected |
Iterator of the underlying matrix class.
Definition at line 258 of file block_matrix_base.h.