Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
BlockMatrixIterators::AccessorBase< BlockMatrixType > Class Template Reference

#include <deal.II/lac/block_matrix_base.h>

Inheritance diagram for BlockMatrixIterators::AccessorBase< BlockMatrixType >:
[legend]

Public Types

using size_type = types::global_dof_index
 
using value_type = typename BlockMatrixType::value_type
 

Public Member Functions

 AccessorBase ()
 
unsigned int block_row () const
 
unsigned int block_column () const
 

Protected Attributes

unsigned int row_block
 
unsigned int col_block
 

Friends

template<typename >
class MatrixIterator
 

Detailed Description

template<class BlockMatrixType>
class BlockMatrixIterators::AccessorBase< BlockMatrixType >

Base class for block matrix accessors, implementing the stepping through a matrix.

Definition at line 61 of file block_matrix_base.h.

Member Typedef Documentation

◆ size_type

template<class BlockMatrixType >
using BlockMatrixIterators::AccessorBase< BlockMatrixType >::size_type = types::global_dof_index

Declare type for container size.

Definition at line 67 of file block_matrix_base.h.

◆ value_type

template<class BlockMatrixType >
using BlockMatrixIterators::AccessorBase< BlockMatrixType >::value_type = typename BlockMatrixType::value_type

Typedef the value type of the matrix we point into.

Definition at line 72 of file block_matrix_base.h.

Constructor & Destructor Documentation

◆ AccessorBase()

template<class BlockMatrixType >
BlockMatrixIterators::AccessorBase< BlockMatrixType >::AccessorBase ( )

Initialize data fields to default values.

Member Function Documentation

◆ block_row()

template<class BlockMatrixType >
unsigned int BlockMatrixIterators::AccessorBase< BlockMatrixType >::block_row ( ) const

Block row of the element represented by this object.

◆ block_column()

template<class BlockMatrixType >
unsigned int BlockMatrixIterators::AccessorBase< BlockMatrixType >::block_column ( ) const

Block column of the element represented by this object.

Friends And Related Function Documentation

◆ MatrixIterator

template<class BlockMatrixType >
template<typename >
friend class MatrixIterator
friend

Let the iterator class be a friend.

Definition at line 106 of file block_matrix_base.h.

Member Data Documentation

◆ row_block

template<class BlockMatrixType >
unsigned int BlockMatrixIterators::AccessorBase< BlockMatrixType >::row_block
protected

Block row into which we presently point.

Definition at line 95 of file block_matrix_base.h.

◆ col_block

template<class BlockMatrixType >
unsigned int BlockMatrixIterators::AccessorBase< BlockMatrixType >::col_block
protected

Block column into which we presently point.

Definition at line 100 of file block_matrix_base.h.


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