Reference documentation for deal.II version GIT relicensing-233-g802318d791 2024-03-28 20:20: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
TrilinosWrappers::SparseMatrixIterators::Accessor< false >::Reference Class Reference

Public Member Functions

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

Private Attributes

Accessoraccessor
 

Detailed Description

Definition at line 258 of file trilinos_sparse_matrix.h.

Constructor & Destructor Documentation

◆ Reference()

TrilinosWrappers::SparseMatrixIterators::Accessor< false >::Reference::Reference ( const Accessor< false > &  accessor)

Constructor.

Member Function Documentation

◆ operator TrilinosScalar()

TrilinosWrappers::SparseMatrixIterators::Accessor< false >::Reference::operator TrilinosScalar ( ) const

Conversion operator to the data type of the matrix.

◆ operator=()

const Reference & TrilinosWrappers::SparseMatrixIterators::Accessor< false >::Reference::operator= ( const TrilinosScalar  n) const

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

◆ operator+=()

const Reference & TrilinosWrappers::SparseMatrixIterators::Accessor< false >::Reference::operator+= ( const TrilinosScalar  n) const

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

◆ operator-=()

const Reference & TrilinosWrappers::SparseMatrixIterators::Accessor< false >::Reference::operator-= ( const TrilinosScalar  n) const

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

◆ operator*=()

const Reference & TrilinosWrappers::SparseMatrixIterators::Accessor< false >::Reference::operator*= ( const TrilinosScalar  n) const

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

◆ operator/=()

const Reference & TrilinosWrappers::SparseMatrixIterators::Accessor< false >::Reference::operator/= ( const TrilinosScalar  n) const

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

Member Data Documentation

◆ accessor

Accessor& TrilinosWrappers::SparseMatrixIterators::Accessor< false >::Reference::accessor
private

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

Definition at line 306 of file trilinos_sparse_matrix.h.


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