Reference documentation for deal.II version 9.0.0
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 208 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 557 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 572 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 582 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 592 of file filtered_matrix.h.

◆ advance()

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

Advance to next entry

Definition at line 602 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 242 of file filtered_matrix.h.

◆ index

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

Current row number.

Definition at line 247 of file filtered_matrix.h.


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