Reference documentation for deal.II version 9.5.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Friends | List of all members
PreconditionBlockJacobi< MatrixType, inverse_type >::const_iterator::Accessor Class Reference

Public Member Functions

 Accessor (const PreconditionBlockJacobi< MatrixType, inverse_type > *matrix, const size_type row)
 
size_type row () const
 
size_type column () const
 
inverse_type value () const
 

Protected Attributes

const PreconditionBlockJacobi< MatrixType, inverse_type > * matrix
 
size_type bs
 
size_type a_block
 
FullMatrix< inverse_type >::const_iterator b_iterator
 
FullMatrix< inverse_type >::const_iterator b_end
 

Friends

class const_iterator
 

Detailed Description

template<typename MatrixType, typename inverse_type = typename MatrixType::value_type>
class PreconditionBlockJacobi< MatrixType, inverse_type >::const_iterator::Accessor

Accessor class for iterators

Definition at line 404 of file precondition_block.h.

Constructor & Destructor Documentation

◆ Accessor()

template<typename MatrixType , typename inverse_type = typename MatrixType::value_type>
PreconditionBlockJacobi< MatrixType, inverse_type >::const_iterator::Accessor::Accessor ( const PreconditionBlockJacobi< MatrixType, inverse_type > *  matrix,
const size_type  row 
)

Constructor. Since we use accessors only for read access, a const matrix pointer is sufficient.

Member Function Documentation

◆ row()

template<typename MatrixType , typename inverse_type = typename MatrixType::value_type>
size_type PreconditionBlockJacobi< MatrixType, inverse_type >::const_iterator::Accessor::row ( ) const

Row number of the element represented by this object.

◆ column()

template<typename MatrixType , typename inverse_type = typename MatrixType::value_type>
size_type PreconditionBlockJacobi< MatrixType, inverse_type >::const_iterator::Accessor::column ( ) const

Column number of the element represented by this object.

◆ value()

template<typename MatrixType , typename inverse_type = typename MatrixType::value_type>
inverse_type PreconditionBlockJacobi< MatrixType, inverse_type >::const_iterator::Accessor::value ( ) const

Value of this matrix entry.

Friends And Related Symbol Documentation

◆ const_iterator

template<typename MatrixType , typename inverse_type = typename MatrixType::value_type>
friend class const_iterator
friend

Definition at line 459 of file precondition_block.h.

Member Data Documentation

◆ matrix

template<typename MatrixType , typename inverse_type = typename MatrixType::value_type>
const PreconditionBlockJacobi<MatrixType, inverse_type>* PreconditionBlockJacobi< MatrixType, inverse_type >::const_iterator::Accessor::matrix
protected

The matrix accessed.

Definition at line 436 of file precondition_block.h.

◆ bs

template<typename MatrixType , typename inverse_type = typename MatrixType::value_type>
size_type PreconditionBlockJacobi< MatrixType, inverse_type >::const_iterator::Accessor::bs
protected

Save block size here for further reference.

Definition at line 441 of file precondition_block.h.

◆ a_block

template<typename MatrixType , typename inverse_type = typename MatrixType::value_type>
size_type PreconditionBlockJacobi< MatrixType, inverse_type >::const_iterator::Accessor::a_block
protected

Current block number.

Definition at line 446 of file precondition_block.h.

◆ b_iterator

template<typename MatrixType , typename inverse_type = typename MatrixType::value_type>
FullMatrix<inverse_type>::const_iterator PreconditionBlockJacobi< MatrixType, inverse_type >::const_iterator::Accessor::b_iterator
protected

Iterator inside block.

Definition at line 451 of file precondition_block.h.

◆ b_end

template<typename MatrixType , typename inverse_type = typename MatrixType::value_type>
FullMatrix<inverse_type>::const_iterator PreconditionBlockJacobi< MatrixType, inverse_type >::const_iterator::Accessor::b_end
protected

End of current block.

Definition at line 456 of file precondition_block.h.


The documentation for this class was generated from the following file: