|
dune-assembler 2.12
|
Loading...
Searching...
No Matches
Dune::Assembler::EigenMatrixBackend< typename Eigen::SparseMatrix< T, Eigen::RowMajor >, useTriplets > Class Template Reference
MatrixBackend for Eigen matrices. More...
#include <dune/assembler/backends/eigenbackend.hh>
Public Types | |
| using | Matrix = Eigen::SparseMatrix< T, Eigen::RowMajor > |
| using | Entry = typename Matrix::Scalar |
| using | value_type = Entry |
| using | LocalMatrix = Dune::Assembler::FlatMatrix< value_type > |
| using | LocalPattern = Dune::Assembler::LocalPatternSet |
Public Member Functions | |
| EigenMatrixBackend (Matrix &matrix) | |
| EigenMatrixBackend (Matrix &matrix, std::bool_constant< useTriplets >) | |
| auto | patternBuilder () |
| template<class RowMultiIndex , class ColMultiIndex > | |
| const Entry & | operator() (const RowMultiIndex &row, const ColMultiIndex &col) const |
| template<class RowMultiIndex , class ColMultiIndex > | |
| Entry & | operator() (const RowMultiIndex &row, const ColMultiIndex &col) |
| template<class RowLocalView , class ColLocalView > | |
| void | scatter (const RowLocalView &rowLocalView, const ColLocalView &colLocalView, const LocalMatrix &localMatrix, const LocalPattern &localPattern) |
| void | setZero () |
| const Matrix & | matrix () const |
| Const access to wrapped matrix. | |
| Matrix & | matrix () |
| Mutable access to wrapped matrix. | |
| template<class Value > | |
| void | assign (const Value &value) |
| Assign value to wrapped matrix. | |
Protected Attributes | |
| Matrix * | matrix_ |
Detailed Description
template<class T, bool useTriplets>
class Dune::Assembler::EigenMatrixBackend< typename Eigen::SparseMatrix< T, Eigen::RowMajor >, useTriplets >
class Dune::Assembler::EigenMatrixBackend< typename Eigen::SparseMatrix< T, Eigen::RowMajor >, useTriplets >
MatrixBackend for Eigen matrices.
Specialization for SparseMatrix in row-major mode.
Member Typedef Documentation
◆ Entry
| using Dune::Assembler::EigenMatrixBackend< typename Eigen::SparseMatrix< T, Eigen::RowMajor >, useTriplets >::Entry = typename Matrix::Scalar |
◆ LocalMatrix
| using Dune::Assembler::EigenMatrixBackend< typename Eigen::SparseMatrix< T, Eigen::RowMajor >, useTriplets >::LocalMatrix = Dune::Assembler::FlatMatrix<value_type> |
◆ LocalPattern
| using Dune::Assembler::EigenMatrixBackend< typename Eigen::SparseMatrix< T, Eigen::RowMajor >, useTriplets >::LocalPattern = Dune::Assembler::LocalPatternSet |
◆ Matrix
| using Dune::Assembler::EigenMatrixBackend< typename Eigen::SparseMatrix< T, Eigen::RowMajor >, useTriplets >::Matrix = Eigen::SparseMatrix<T, Eigen::RowMajor> |
◆ value_type
| using Dune::Assembler::EigenMatrixBackend< typename Eigen::SparseMatrix< T, Eigen::RowMajor >, useTriplets >::value_type = Entry |
Constructor & Destructor Documentation
◆ EigenMatrixBackend() [1/2]
|
inline |
◆ EigenMatrixBackend() [2/2]
|
inline |
Member Function Documentation
◆ assign()
template<class Value >
|
inline |
Assign value to wrapped matrix.
◆ matrix() [1/2]
|
inline |
Mutable access to wrapped matrix.
◆ matrix() [2/2]
|
inline |
Const access to wrapped matrix.
◆ operator()() [1/2]
|
inline |
◆ operator()() [2/2]
|
inline |
◆ patternBuilder()
|
inline |
◆ scatter()
|
inline |
◆ setZero()
|
inline |
Member Data Documentation
◆ matrix_
|
protected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8