Reference documentation for deal.II version 9.6.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\}}\)
Loading...
Searching...
No Matches
LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Accessor< Number, MemorySpace, false >::Reference Class Reference

Public Member Functions

 Reference (const Accessor< Number, MemorySpace, false > &accessor)
 
 operator Number () const
 
const Referenceoperator= (const Number n) const
 
const Referenceoperator+= (const Number n) const
 
const Referenceoperator-= (const Number n) const
 
const Referenceoperator*= (const Number n) const
 
const Referenceoperator/= (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 1456 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 2112 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 2120 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 2130 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 2144 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 2158 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 2171 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 2184 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 1504 of file trilinos_tpetra_sparse_matrix.h.


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