DUNE PDELab (2.7)
Dune::ColCompMatrix< Mat, I > Class Template Reference
Utility class for converting an ISTL Matrix into a column-compressed matrix. More...
#include <dune/istl/colcompmatrix.hh>
Public Types | |
| using | Matrix = Mat |
| The type of the matrix to convert. | |
Public Member Functions | |
| ColCompMatrix (const Matrix &mat) | |
| Constructor that initializes the data. More... | |
| virtual | ~ColCompMatrix () |
| Destructor. | |
| size_type | N () const |
| Get the number of rows. More... | |
| size_type | M () const |
| Get the number of columns. More... | |
| virtual void | setMatrix (const Matrix &mat, const std::set< std::size_t > &mrs) |
| Initialize data from a given set of matrix rows and columns. More... | |
| virtual void | free () |
| free allocated space. | |
| virtual void | setMatrix (const Matrix &mat) |
| Initialize data from given matrix. | |
Detailed Description
template<class Mat, class I = int>
class Dune::ColCompMatrix< Mat, I >
class Dune::ColCompMatrix< Mat, I >
Utility class for converting an ISTL Matrix into a column-compressed matrix.
- Template Parameters
-
M The matrix type I the internal index type
Constructor & Destructor Documentation
◆ ColCompMatrix()
template<class Mat , class I = int>
|
explicit |
Constructor that initializes the data.
- Parameters
-
mat The matrix to convert.
Member Function Documentation
◆ M()
template<class Mat , class I = int>
|
inline |
Get the number of columns.
- Returns
- The number of columns.
Referenced by Dune::UMFPack< M >::apply(), and Dune::UMFPack< M >::setMatrix().
◆ N()
template<class Mat , class I = int>
|
inline |
Get the number of rows.
- Returns
- The number of rows.
Referenced by Dune::UMFPack< M >::apply(), and Dune::UMFPack< M >::setMatrix().
◆ setMatrix()
template<class Mat , class I = int>
|
virtual |
Initialize data from a given set of matrix rows and columns.
- Parameters
-
mat the matrix with the values mrs The set of row (and column) indices to remove
Reimplemented in Dune::SuperLUMatrix< BCRSMatrix< B, TA > >.
The documentation for this class was generated from the following file:
- dune/istl/colcompmatrix.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Mar 3, 23:33, 2026)