dune-fem 2.8.0
|
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. | |
typedef Matrix::size_type | size_type |
typedef RowIndex | RowIndexType |
Public Member Functions | |
ColCompMatrix (const Matrix &mat) | |
Constructor that initializes the data. | |
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. | |
ThisType & | operator= (const Matrix &mat) |
ThisType & | operator= (const ThisType &mat) |
void | free () |
Free allocated space. | |
virtual void | setMatrix (const Matrix &mat) |
Initialize data from given matrix. | |
Converter for SparseRowMatrix to column-compressed matrix. Specialization for SparseRowMatrix.
typedef Fem::SparseRowMatrix<T,IndexT,ValuesVector,IndicesVector> Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex >::Matrix |
The type of the matrix to convert.
typedef RowIndex Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex >::RowIndexType |
typedef Matrix::size_type Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex >::size_type |
typedef ColCompMatrix< Fem::SparseRowMatrix<T,IndexT,ValuesVector,IndicesVector> > Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex >::ThisType |
The type of the matrix converted.
|
inlineexplicit |
Constructor that initializes the data.
mat | The matrix to convert. |
|
inline |
Empty constructor.
|
inlinevirtual |
Destructor.
|
inline |
Free allocated space.
|
inline |
Get the column start indices.
|
inline |
Get the row indices of the non-zero entries of the matrix.
|
inline |
Get the non-zero entries of the matrix.
|
inline |
Get the number of columns.
|
inline |
Get the number of rows.
|
inline |
Get the number of non zero entries.
|
inline |
|
inline |
|
inlinevirtual |
Initialize data from given matrix.