![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
Dune::Fufem::NumPyCSRMatrixBackend< T > Class Template Reference
Implementation of the MatrixBackend concept NumPyCSRMatrix. More...
#include <dune/fufem/backends/numpybackend.hh>
Public Types | |
| using | value_type = T |
| using | LocalMatrix = Dune::Assembler::FlatMatrix< value_type > |
| using | PatternBuilder = Impl::NumPyCSRMatrixPatternBuilder< T > |
| using | LocalPattern = typename PatternBuilder::LocalPattern |
| using | Matrix = NumPyCSRMatrix< T > |
| using | Entry = T |
Public Member Functions | |
| NumPyCSRMatrixBackend (Matrix &matrix) | |
| PatternBuilder | patternBuilder () |
| template<class RowIndex , class ColIndex > | |
| auto | nnzIndex (const RowIndex &row, const ColIndex &col) const |
| template<class RowIndex , class ColIndex > | |
| const value_type & | operator() (const RowIndex &row, const ColIndex &col) const |
| template<class RowIndex , class ColIndex > | |
| value_type & | operator() (const RowIndex &row, const ColIndex &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 |
| Matrix & | matrix () |
| template<class Value > | |
| void | assign (const Value &value) |
Protected Attributes | |
| Matrix * | matrix_ |
Detailed Description
template<class T = double>
class Dune::Fufem::NumPyCSRMatrixBackend< T >
class Dune::Fufem::NumPyCSRMatrixBackend< T >
Implementation of the MatrixBackend concept NumPyCSRMatrix.
This implements MatrixBackend concept from dune-fufem for NumPyCSRMatrix objects.
Member Typedef Documentation
◆ Entry
template<class T = double>
| using Dune::Fufem::NumPyCSRMatrixBackend< T >::Entry = T |
◆ LocalMatrix
template<class T = double>
| using Dune::Fufem::NumPyCSRMatrixBackend< T >::LocalMatrix = Dune::Assembler::FlatMatrix<value_type> |
◆ LocalPattern
template<class T = double>
| using Dune::Fufem::NumPyCSRMatrixBackend< T >::LocalPattern = typename PatternBuilder::LocalPattern |
◆ Matrix
template<class T = double>
| using Dune::Fufem::NumPyCSRMatrixBackend< T >::Matrix = NumPyCSRMatrix<T> |
◆ PatternBuilder
template<class T = double>
| using Dune::Fufem::NumPyCSRMatrixBackend< T >::PatternBuilder = Impl::NumPyCSRMatrixPatternBuilder<T> |
◆ value_type
template<class T = double>
| using Dune::Fufem::NumPyCSRMatrixBackend< T >::value_type = T |
Constructor & Destructor Documentation
◆ NumPyCSRMatrixBackend()
template<class T = double>
|
inline |
Member Function Documentation
◆ assign()
template<class T = double>
template<class Value >
|
inline |
◆ matrix() [1/2]
template<class T = double>
|
inline |
◆ matrix() [2/2]
template<class T = double>
|
inline |
◆ nnzIndex()
template<class T = double>
template<class RowIndex , class ColIndex >
|
inline |
◆ operator()() [1/2]
template<class T = double>
template<class RowIndex , class ColIndex >
|
inline |
◆ operator()() [2/2]
template<class T = double>
template<class RowIndex , class ColIndex >
|
inline |
◆ patternBuilder()
template<class T = double>
|
inline |
◆ scatter()
template<class T = double>
template<class RowLocalView , class ColLocalView >
|
inline |
◆ setZero()
template<class T = double>
|
inline |
Member Data Documentation
◆ matrix_
template<class T = double>
|
protected |
The documentation for this class was generated from the following file:
