Reference documentation for deal.II version GIT relicensing-493-g2fa0c96cf2 2024-04-29 17:00:02+00:00
\(\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 Member Functions | Private Attributes | List of all members
LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Accessor< Number, MemorySpace, false >::Reference Class Reference

Public Member Functions

 Reference (const Accessor< Number, MemorySpace, false > &accessor)
 
 operator Number () const
 
const Reference & operator= (const Number n) const
 
const Reference & operator+= (const Number n) const
 
const Reference & operator-= (const Number n) const
 
const Reference & operator*= (const Number n) const
 
const Reference & operator/= (const Number n) const
 

Private Attributes

Accessoraccessor
 

Detailed Description

template<typename Number, typename MemorySpace>
class LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Accessor< Number, MemorySpace, false >::Reference

Definition at line 1496 of file trilinos_tpetra_sparse_matrix.h.

Constructor & Destructor Documentation

◆ Reference()

template<typename Number , typename MemorySpace >
LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Accessor< Number, MemorySpace, false >::Reference::Reference ( const Accessor< Number, MemorySpace, false > &  accessor)
inline

Constructor.

Definition at line 2168 of file trilinos_tpetra_sparse_matrix.h.

Member Function Documentation

◆ operator Number()

template<typename Number , typename MemorySpace >
LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Accessor< Number, MemorySpace, false >::Reference::operator Number ( ) const
inline

Conversion operator to the data type of the matrix.

Definition at line 2176 of file trilinos_tpetra_sparse_matrix.h.

◆ operator=()

template<typename Number , typename MemorySpace >
const Accessor< Number, MemorySpace, false >::Reference & LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Accessor< Number, MemorySpace, false >::Reference::operator= ( const Number  n) const
inline

Set the element of the matrix we presently point to to n.

Definition at line 2186 of file trilinos_tpetra_sparse_matrix.h.

◆ operator+=()

template<typename Number , typename MemorySpace >
const Accessor< Number, MemorySpace, false >::Reference & LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Accessor< Number, MemorySpace, false >::Reference::operator+= ( const Number  n) const
inline

Add n to the element of the matrix we presently point to.

Definition at line 2200 of file trilinos_tpetra_sparse_matrix.h.

◆ operator-=()

template<typename Number , typename MemorySpace >
const Accessor< Number, MemorySpace, false >::Reference & LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Accessor< Number, MemorySpace, false >::Reference::operator-= ( const Number  n) const
inline

Subtract n from the element of the matrix we presently point to.

Definition at line 2214 of file trilinos_tpetra_sparse_matrix.h.

◆ operator*=()

template<typename Number , typename MemorySpace >
const Accessor< Number, MemorySpace, false >::Reference & LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Accessor< Number, MemorySpace, false >::Reference::operator*= ( const Number  n) const
inline

Multiply the element of the matrix we presently point to by n.

Definition at line 2227 of file trilinos_tpetra_sparse_matrix.h.

◆ operator/=()

template<typename Number , typename MemorySpace >
const Accessor< Number, MemorySpace, false >::Reference & LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Accessor< Number, MemorySpace, false >::Reference::operator/= ( const Number  n) const
inline

Divide the element of the matrix we presently point to by n.

Definition at line 2240 of file trilinos_tpetra_sparse_matrix.h.

Member Data Documentation

◆ accessor

template<typename Number , typename MemorySpace >
Accessor& LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Accessor< Number, MemorySpace, false >::Reference::accessor
private

Pointer to the accessor that denotes which element we presently point to.

Definition at line 1544 of file trilinos_tpetra_sparse_matrix.h.


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