Reference documentation for deal.II version Git 44f8b89d8e 2019-09-19 12:50:43 +0200
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Member Functions | List of all members
ChunkSparseMatrixIterators::Accessor< number, Constness > Class Template Reference

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

Inheritance diagram for ChunkSparseMatrixIterators::Accessor< number, Constness >:
[legend]

Public Member Functions

number value () const
 
number & value ()
 
const ChunkSparseMatrix< number > & get_matrix () const
 
- Public Member Functions inherited from ChunkSparsityPatternIterators::Accessor
 Accessor (const ChunkSparsityPattern *matrix, const size_type row)
 
 Accessor (const ChunkSparsityPattern *matrix)
 
size_type row () const
 
std::size_t reduced_index () const
 
size_type column () const
 
bool is_valid_entry () const
 
bool operator== (const Accessor &) const
 
bool operator< (const Accessor &) const
 

Additional Inherited Members

- Public Types inherited from ChunkSparsityPatternIterators::Accessor
using size_type = types::global_dof_index
 
- Protected Member Functions inherited from ChunkSparsityPatternIterators::Accessor
void advance ()
 
- Protected Attributes inherited from ChunkSparsityPatternIterators::Accessor
const ChunkSparsityPatternsparsity_pattern
 
SparsityPatternIterators::Accessor reduced_accessor
 
size_type chunk_row
 
size_type chunk_col
 

Detailed Description

template<typename number, bool Constness>
class ChunkSparseMatrixIterators::Accessor< number, Constness >

General template for sparse matrix accessors. The first template argument denotes the underlying numeric type, the second the constness of the matrix.

The general template is not implemented, only the specializations for the two possible values of the second template argument. Therefore, the interface listed here only serves as a template provided since doxygen does not link the specializations.

Definition at line 67 of file chunk_sparse_matrix.h.

Member Function Documentation

◆ value() [1/2]

template<typename number, bool Constness>
number ChunkSparseMatrixIterators::Accessor< number, Constness >::value ( ) const

Value of this matrix entry.

◆ value() [2/2]

template<typename number, bool Constness>
number& ChunkSparseMatrixIterators::Accessor< number, Constness >::value ( )

Value of this matrix entry.

◆ get_matrix()

template<typename number, bool Constness>
const ChunkSparseMatrix<number>& ChunkSparseMatrixIterators::Accessor< number, Constness >::get_matrix ( ) const

Return a reference to the matrix into which this accessor points. Note that in the present case, this is a constant reference.


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