|
dune-istl
2.7.1
|
Inititializer for the ColCompMatrix as needed by OverlappingSchwarz. More...
#include <dune/istl/colcompmatrix.hh>

Public Types | |
| using | Matrix = M |
| using | Index = I |
| typedef Dune::ColCompMatrix< Matrix, Index > | ColCompMatrix |
| typedef Matrix::row_type::const_iterator | CIter |
| typedef Matrix::size_type | size_type |
Public Member Functions | |
| template<class Block = typename M::block_type> | |
| ColCompMatrixInitializer (ColCompMatrix &lum, typename std::enable_if_t< Dune::IsNumber< Block >::value > *sfinae=nullptr) | |
| Constructor for scalar-valued matrices. More... | |
| template<class Block = typename M::block_type> | |
| ColCompMatrixInitializer (ColCompMatrix &lum, typename std::enable_if_t<!Dune::IsNumber< Block >::value > *sfinae=nullptr) | |
| Constructor for dense matrix-valued matrices. More... | |
| ColCompMatrixInitializer () | |
| virtual | ~ColCompMatrixInitializer () |
| template<typename Iter > | |
| void | addRowNnz (const Iter &row) const |
| template<typename Iter , typename FullMatrixIndex > | |
| void | addRowNnz (const Iter &row, const std::set< FullMatrixIndex > &indices) const |
| template<typename Iter , typename SubMatrixIndex > | |
| void | addRowNnz (const Iter &row, const std::vector< SubMatrixIndex > &indices) const |
| void | allocate () |
| template<typename Iter > | |
| void | countEntries (const Iter &row, const CIter &col) const |
| void | countEntries (size_type colidx) const |
| void | calcColstart () const |
| template<typename Iter > | |
| void | copyValue (const Iter &row, const CIter &col) const |
| void | copyValue (const CIter &col, size_type rowindex, size_type colidx) const |
| virtual void | createMatrix () const |
Protected Member Functions | |
| void | allocateMatrixStorage () const |
| void | allocateMarker () |
Protected Attributes | |
| ColCompMatrix * | mat |
| size_type | cols |
| size_type | n |
| size_type | m |
| std::vector< size_type > | marker |
Inititializer for the ColCompMatrix as needed by OverlappingSchwarz.
| M | the matrix type |
| I | the internal index type |
| typedef Matrix::row_type::const_iterator Dune::ColCompMatrixInitializer< M, I >::CIter |
| typedef Dune::ColCompMatrix<Matrix, Index> Dune::ColCompMatrixInitializer< M, I >::ColCompMatrix |
| using Dune::ColCompMatrixInitializer< M, I >::Index = I |
| using Dune::ColCompMatrixInitializer< M, I >::Matrix = M |
| typedef Matrix::size_type Dune::ColCompMatrixInitializer< M, I >::size_type |
| Dune::ColCompMatrixInitializer< M, I >::ColCompMatrixInitializer | ( | ColCompMatrix & | lum, |
| typename std::enable_if_t< Dune::IsNumber< Block >::value > * | sfinae = nullptr |
||
| ) |
Constructor for scalar-valued matrices.
| Block | Dummy parameter to make SFINAE work |
| Dune::ColCompMatrixInitializer< M, I >::ColCompMatrixInitializer | ( | ColCompMatrix & | lum, |
| typename std::enable_if_t<!Dune::IsNumber< Block >::value > * | sfinae = nullptr |
||
| ) |
Constructor for dense matrix-valued matrices.
| Block | Dummy parameter to make SFINAE work |
| Dune::ColCompMatrixInitializer< M, I >::ColCompMatrixInitializer |
|
inlinevirtual |
| void Dune::ColCompMatrixInitializer< M, I >::addRowNnz | ( | const Iter & | row | ) | const |
| void Dune::ColCompMatrixInitializer< M, I >::addRowNnz | ( | const Iter & | row, |
| const std::set< FullMatrixIndex > & | indices | ||
| ) | const |
| void Dune::ColCompMatrixInitializer< M, I >::addRowNnz | ( | const Iter & | row, |
| const std::vector< SubMatrixIndex > & | indices | ||
| ) | const |
| void Dune::ColCompMatrixInitializer< M, I >::allocate |
|
protected |
|
protected |
| void Dune::ColCompMatrixInitializer< M, I >::calcColstart |
| void Dune::ColCompMatrixInitializer< M, I >::copyValue | ( | const CIter & | col, |
| size_type | rowindex, | ||
| size_type | colidx | ||
| ) | const |
| void Dune::ColCompMatrixInitializer< M, I >::copyValue | ( | const Iter & | row, |
| const CIter & | col | ||
| ) | const |
| void Dune::ColCompMatrixInitializer< M, I >::countEntries | ( | const Iter & | row, |
| const CIter & | col | ||
| ) | const |
| void Dune::ColCompMatrixInitializer< M, I >::countEntries | ( | size_type | colidx | ) | const |
|
virtual |
Reimplemented in Dune::SuperMatrixInitializer< BCRSMatrix< B, A > >.
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |