DUNE-FEM (unstable)
Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex > Class Template Reference
Converter for SparseRowMatrix to column-compressed matrix. Specialization for SparseRowMatrix. More...
#include <dune/fem/operator/matrix/colcompspmatrix.hh>
Public Types | |
typedef ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector > > | ThisType |
The type of the matrix converted. | |
typedef Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector > | Matrix |
The type of the matrix to convert. | |
Public Member Functions | |
ColCompMatrix (const Matrix &mat) | |
Constructor that initializes the data. More... | |
ColCompMatrix () | |
Empty constructor. | |
virtual | ~ColCompMatrix () |
Destructor. | |
size_type | N () const |
Get the number of rows. | |
size_type | nnz () const |
Get the number of non zero entries. | |
size_type | M () const |
Get the number of columns. | |
T * | getValues () const |
Get the non-zero entries of the matrix. | |
RowIndexType * | getRowIndex () const |
Get the row indices of the non-zero entries of the matrix. | |
RowIndexType * | getColStart () const |
Get the column start indices. | |
void | free () |
Free allocated space. | |
virtual void | setMatrix (const Matrix &mat) |
Initialize data from given matrix. | |
Detailed Description
template<class T, class IndexT, class ValuesVector, class IndicesVector, class RowIndex>
class Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex >
Converter for SparseRowMatrix to column-compressed matrix. Specialization for SparseRowMatrix.
Constructor & Destructor Documentation
◆ ColCompMatrix()
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inlineexplicit |
Constructor that initializes the data.
- Parameters
-
mat The matrix to convert.
The documentation for this class was generated from the following file:
- dune/fem/operator/matrix/colcompspmatrix.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.80.0
(May 2, 22:35, 2024)