Reference documentation for deal.II version 9.1.0-pre
Public Types | Public Member Functions | Friends | List of all members
TrilinosWrappers::SparseMatrixIterators::Accessor< false > Class Template Reference

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

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

Public Types

using MatrixType = 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)
 
Reference 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
 
class Reference
 

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

template<>
class TrilinosWrappers::SparseMatrixIterators::Accessor< false >

The specialization for a mutable Accessor.

Definition at line 257 of file trilinos_sparse_matrix.h.

Member Typedef Documentation

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

Definition at line 315 of file trilinos_sparse_matrix.h.

Constructor & Destructor Documentation

TrilinosWrappers::SparseMatrixIterators::Accessor< false >::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.

Member Function Documentation

Value of this matrix entry.

Friends And Related Function Documentation

template<bool >
friend class Iterator
friend

Make iterator class a friend.

Definition at line 334 of file trilinos_sparse_matrix.h.

friend class Reference
friend

Make Reference object a friend.

Definition at line 338 of file trilinos_sparse_matrix.h.


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