PreconditionBlockJacobi< MATRIX, inverse_type >::const_iterator::Accessor Class Reference

List of all members.

Public Member Functions

 Accessor (const PreconditionBlockJacobi< MATRIX, inverse_type > *matrix, const unsigned int row)
unsigned int row () const
unsigned int column () const
inverse_type value () const

Protected Attributes

const PreconditionBlockJacobi
< MATRIX, inverse_type > * 
matrix
unsigned int bs
unsigned int a_block
FullMatrix< inverse_type >
::const_iterator 
b_iterator
FullMatrix< inverse_type >
::const_iterator 
b_end

Friends

class const_iterator


Detailed Description

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

Accessor class for iterators

Constructor & Destructor Documentation

template<class MATRIX, typename inverse_type = typename MATRIX::value_type>
PreconditionBlockJacobi< MATRIX, inverse_type >::const_iterator::Accessor::Accessor ( const PreconditionBlockJacobi< MATRIX, inverse_type > *  matrix,
const unsigned int  row 
)

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


Member Function Documentation

template<class MATRIX, typename inverse_type = typename MATRIX::value_type>
unsigned int PreconditionBlockJacobi< MATRIX, inverse_type >::const_iterator::Accessor::row (  )  const

Row number of the element represented by this object.

template<class MATRIX, typename inverse_type = typename MATRIX::value_type>
unsigned int PreconditionBlockJacobi< MATRIX, inverse_type >::const_iterator::Accessor::column (  )  const

Column number of the element represented by this object.

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

Value of this matrix entry.


Friends And Related Function Documentation

template<class MATRIX, typename inverse_type = typename MATRIX::value_type>
friend class const_iterator [friend]

Make enclosing class a friend.


Member Data Documentation

template<class MATRIX, typename inverse_type = typename MATRIX::value_type>
const PreconditionBlockJacobi<MATRIX, inverse_type>* PreconditionBlockJacobi< MATRIX, inverse_type >::const_iterator::Accessor::matrix [protected]

The matrix accessed.

template<class MATRIX, typename inverse_type = typename MATRIX::value_type>
unsigned int PreconditionBlockJacobi< MATRIX, inverse_type >::const_iterator::Accessor::bs [protected]

Save block size here for further reference.

template<class MATRIX, typename inverse_type = typename MATRIX::value_type>
unsigned int PreconditionBlockJacobi< MATRIX, inverse_type >::const_iterator::Accessor::a_block [protected]

Current block number.

template<class MATRIX, typename inverse_type = typename MATRIX::value_type>
FullMatrix<inverse_type>::const_iterator PreconditionBlockJacobi< MATRIX, inverse_type >::const_iterator::Accessor::b_iterator [protected]

Iterator inside block.

template<class MATRIX, typename inverse_type = typename MATRIX::value_type>
FullMatrix<inverse_type>::const_iterator PreconditionBlockJacobi< MATRIX, inverse_type >::const_iterator::Accessor::b_end [protected]

End of current block.


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

deal.II documentation generated on Sat Aug 15 16:52:13 2009 by doxygen 1.5.9