Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Types | Public Member Functions | Friends | List of all members
TrilinosWrappers::SparseMatrixIterators::Accessor< true > Class Reference

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

Inheritance diagram for TrilinosWrappers::SparseMatrixIterators::Accessor< true >:
[legend]

Public Types

using MatrixType = const SparseMatrix
 
- Public Types inherited from TrilinosWrappers::SparseMatrixIterators::AccessorBase
using size_type = ::types::global_dof_index
 

Public Member Functions

 Accessor (MatrixType *matrix, const size_type row, const size_type index)
 
template<bool Other>
 Accessor (const Accessor< Other > &a)
 
TrilinosScalar value () const
 
- Public Member Functions inherited from TrilinosWrappers::SparseMatrixIterators::AccessorBase
 AccessorBase (SparseMatrix *matrix, const size_type row, const size_type index)
 
size_type row () const
 
size_type index () const
 
size_type column () const
 

Friends

template<bool >
class Iterator
 

Additional Inherited Members

- Protected Member Functions inherited from TrilinosWrappers::SparseMatrixIterators::AccessorBase
void visit_present_row ()
 
- Protected Attributes inherited from TrilinosWrappers::SparseMatrixIterators::AccessorBase
SparseMatrixmatrix
 
size_type a_row
 
size_type a_index
 
std::shared_ptr< std::vector< size_type > > colnum_cache
 
std::shared_ptr< std::vector< TrilinosScalar > > value_cache
 

Detailed Description

The specialization for a const Accessor.

Definition at line 223 of file trilinos_sparse_matrix.h.

Member Typedef Documentation

◆ MatrixType

Typedef for the type (including constness) of the matrix to be used here.

Definition at line 230 of file trilinos_sparse_matrix.h.

Constructor & Destructor Documentation

◆ Accessor() [1/2]

TrilinosWrappers::SparseMatrixIterators::Accessor< true >::Accessor ( MatrixType matrix,
const size_type  row,
const size_type  index 
)

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

◆ Accessor() [2/2]

template<bool Other>
TrilinosWrappers::SparseMatrixIterators::Accessor< true >::Accessor ( const Accessor< Other > &  a)

Copy constructor to get from a const or non-const accessor to a const accessor.

Member Function Documentation

◆ value()

Value of this matrix entry.

Friends And Related Function Documentation

◆ Iterator

template<bool >
friend class Iterator
friend

Definition at line 254 of file trilinos_sparse_matrix.h.


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