Reference documentation for deal.II version 9.4.1
\(\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\}}\)
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
ChunkSparseMatrixIterators::Iterator< number, Constness > Class Template Reference

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

Public Types

using MatrixType = typename Accessor< number, Constness >::MatrixType
 
using value_type = const Accessor< number, Constness > &
 
using difference_type = types::global_dof_index
 

Public Member Functions

 Iterator (MatrixType *matrix, const unsigned int row)
 
 Iterator (MatrixType *matrix)
 
 Iterator (const ChunkSparseMatrixIterators::Iterator< number, false > &i)
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
const Accessor< number, Constness > & operator* () const
 
const Accessor< number, Constness > * operator-> () const
 
bool operator== (const Iterator &) const
 
bool operator!= (const Iterator &) const
 
bool operator< (const Iterator &) const
 
bool operator> (const Iterator &) const
 
int operator- (const Iterator &p) const
 
Iterator operator+ (const unsigned int n) const
 

Private Attributes

Accessor< number, Constness > accessor
 

Detailed Description

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

Iterator for constant and non-constant matrices.

The first template argument denotes the underlying numeric type, the second the constness of the matrix.

Since there is a specialization of this class for Constness=false, this class is for iterators to constant matrices.

Definition at line 297 of file chunk_sparse_matrix.h.


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