Reference documentation for deal.II version 9.0.0
|
#include <deal.II/lac/trilinos_sparse_matrix.h>
Public Types | |
typedef const SparseMatrix | MatrixType |
Public Types inherited from TrilinosWrappers::SparseMatrixIterators::AccessorBase | |
typedef ::types::global_dof_index | size_type |
Public Member Functions | |
Accessor (MatrixType *matrix, const size_type row, const size_type index) | |
template<bool Other> | |
Accessor (const Accessor< Other > &a) | |
TrilinosScalar | value () const |
Public Member Functions inherited from TrilinosWrappers::SparseMatrixIterators::AccessorBase | |
AccessorBase (SparseMatrix *matrix, const size_type row, const size_type index) | |
size_type | row () const |
size_type | index () const |
size_type | column () const |
Friends | |
template<bool > | |
class | Iterator |
Additional Inherited Members | |
Protected Member Functions inherited from TrilinosWrappers::SparseMatrixIterators::AccessorBase | |
void | visit_present_row () |
Protected Attributes inherited from TrilinosWrappers::SparseMatrixIterators::AccessorBase | |
SparseMatrix * | matrix |
size_type | a_row |
size_type | a_index |
std::shared_ptr< std::vector< size_type > > | colnum_cache |
std::shared_ptr< std::vector< TrilinosScalar > > | value_cache |
The specialization for a const Accessor.
Definition at line 205 of file trilinos_sparse_matrix.h.
typedef const SparseMatrix TrilinosWrappers::SparseMatrixIterators::Accessor< true >::MatrixType |
Typedef for the type (including constness) of the matrix to be used here.
Definition at line 212 of file trilinos_sparse_matrix.h.
TrilinosWrappers::SparseMatrixIterators::Accessor< true >::Accessor | ( | MatrixType * | matrix, |
const size_type | row, | ||
const size_type | index | ||
) |
Constructor. Since we use accessors only for read access, a const matrix pointer is sufficient.
TrilinosWrappers::SparseMatrixIterators::Accessor< true >::Accessor | ( | const Accessor< Other > & | a | ) |
Copy constructor to get from a const or non-const accessor to a const accessor.
TrilinosScalar TrilinosWrappers::SparseMatrixIterators::Accessor< true >::value | ( | ) | const |
Value of this matrix entry.
|
friend |
Make iterator class a friend.
Definition at line 238 of file trilinos_sparse_matrix.h.