Dune Core Modules (2.4.1)
Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > > Class Template Reference
Converter for BCRSMatrix to column-compressed Matrix. specialization for BCRSMatrix. More...
#include <dune/istl/colcompmatrix.hh>
Public Types | |
typedef BCRSMatrix< FieldMatrix< B, n, m >, TA > | Matrix |
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 B, class TA, int n, int m>
class Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >
class Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >
Converter for BCRSMatrix to column-compressed Matrix. specialization for BCRSMatrix.
Constructor & Destructor Documentation
◆ ColCompMatrix()
template<class B , class TA , int n, int m>
|
explicit |
Constructor that initializes the data.
- Parameters
-
mat The matrix to convert.
Member Function Documentation
◆ M()
template<class B , class TA , int n, int m>
|
inline |
Get the number of columns.
- Returns
- The number of columns.
◆ N()
template<class B , class TA , int n, int m>
|
inline |
Get the number of rows.
- Returns
- The number of rows.
◆ setMatrix()
template<class B , class TA , int n, int m>
|
virtual |
Initialize data from a given set of matrix rows and columns.
- Template Parameters
-
The type of the row index set.
- Parameters
-
mat the matrix with the values mrs The set of row (and column) indices to represent
Reimplemented in Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >.
The documentation for this class was generated from the following file:
- dune/istl/colcompmatrix.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Jul 24, 22:29, 2024)