Reference documentation for deal.II version Git 34859fde61 2019-12-10 11:26:22 -0700
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FilteredMatrix< VectorType >::Accessor Class Reference

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

Public Member Functions

size_type row () const
 
size_type column () const
 
double value () const
 

Private Member Functions

 Accessor (const FilteredMatrix< VectorType > *matrix, const size_type index)
 
void advance ()
 

Private Attributes

const FilteredMatrix< VectorType > * matrix
 
size_type index
 

Detailed Description

template<typename VectorType>
class FilteredMatrix< VectorType >::Accessor

Accessor class for iterators

Definition at line 215 of file filtered_matrix.h.

Constructor & Destructor Documentation

◆ Accessor()

template<typename VectorType >
FilteredMatrix< VectorType >::Accessor::Accessor ( const FilteredMatrix< VectorType > *  matrix,
const size_type  index 
)
inlineprivate

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

Definition at line 578 of file filtered_matrix.h.

Member Function Documentation

◆ row()

template<typename VectorType >
types::global_dof_index FilteredMatrix< VectorType >::Accessor::row ( ) const
inline

Row number of the element represented by this object.

Definition at line 592 of file filtered_matrix.h.

◆ column()

template<typename VectorType >
types::global_dof_index FilteredMatrix< VectorType >::Accessor::column ( ) const
inline

Column number of the element represented by this object.

Definition at line 601 of file filtered_matrix.h.

◆ value()

template<typename VectorType >
double FilteredMatrix< VectorType >::Accessor::value ( ) const
inline

Value of the right hand side for this row.

Definition at line 610 of file filtered_matrix.h.

◆ advance()

template<typename VectorType >
void FilteredMatrix< VectorType >::Accessor::advance ( )
inlineprivate

Advance to next entry

Definition at line 619 of file filtered_matrix.h.

Member Data Documentation

◆ matrix

template<typename VectorType>
const FilteredMatrix<VectorType>* FilteredMatrix< VectorType >::Accessor::matrix
private

The matrix accessed.

Definition at line 252 of file filtered_matrix.h.

◆ index

template<typename VectorType>
size_type FilteredMatrix< VectorType >::Accessor::index
private

Current row number.

Definition at line 257 of file filtered_matrix.h.


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