Reference documentation for deal.II version Git 1206453fa0 2020-07-09 18:20:27 -0600
\(\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\}}\)
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 Referenceoperator= (const TrilinosScalar n) const
 
const Referenceoperator+= (const TrilinosScalar n) const
 
const Referenceoperator-= (const TrilinosScalar n) const
 
const Referenceoperator*= (const TrilinosScalar n) const
 
const Referenceoperator/= (const TrilinosScalar n) const
 

Private Attributes

Accessoraccessor
 

Detailed Description

template<>
class TrilinosWrappers::SparseMatrixIterators::Accessor< false >::Reference

Definition at line 260 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 308 of file trilinos_sparse_matrix.h.


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