Reference documentation for deal.II version 8.5.1
Public Member Functions | Protected Attributes | List of all members
FullMatrix< number >::Accessor Class Reference

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

Public Member Functions

 Accessor (const FullMatrix< number > *matrix, const size_type row, const size_type col)
 
size_type row () const
 
size_type column () const
 
number value () const
 

Protected Attributes

const FullMatrix< number > * matrix
 
size_type a_row
 
unsigned short a_col
 

Detailed Description

template<typename number>
class FullMatrix< number >::Accessor

Accessor class for iterators

Definition at line 99 of file full_matrix.h.

Constructor & Destructor Documentation

◆ Accessor()

template<typename number>
FullMatrix< number >::Accessor::Accessor ( const FullMatrix< number > *  matrix,
const size_type  row,
const size_type  col 
)

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

Member Function Documentation

◆ row()

template<typename number>
size_type FullMatrix< number >::Accessor::row ( ) const

Row number of the element represented by this object.

◆ column()

template<typename number>
size_type FullMatrix< number >::Accessor::column ( ) const

Column number of the element represented by this object.

◆ value()

template<typename number>
number FullMatrix< number >::Accessor::value ( ) const

Value of this matrix entry.

Member Data Documentation

◆ matrix

template<typename number>
const FullMatrix<number>* FullMatrix< number >::Accessor::matrix
protected

The matrix accessed.

Definition at line 129 of file full_matrix.h.

◆ a_row

template<typename number>
size_type FullMatrix< number >::Accessor::a_row
protected

Current row number.

Definition at line 134 of file full_matrix.h.

◆ a_col

template<typename number>
unsigned short FullMatrix< number >::Accessor::a_col
protected

Current column number.

Definition at line 139 of file full_matrix.h.


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