dune-fem
2.4.1-rc
|
Converter for SparseRowMatrix to column-compressed matrix. Specialization for SparseRowMatrix. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/operator/matrix/colcompspmatrix.hh>
Public Types | |
typedef ColCompMatrix< Fem::SparseRowMatrix< B > > | ThisType |
The type of the matrix converted. More... | |
typedef Fem::SparseRowMatrix< B > | Matrix |
The type of the matrix to convert. More... | |
typedef int | size_type |
Public Member Functions | |
ColCompMatrix (const Matrix &mat) | |
Constructor that initializes the data. More... | |
ColCompMatrix () | |
Empty constructor. More... | |
virtual | ~ColCompMatrix () |
Destructor. More... | |
size_type | N () const |
Get the number of rows. More... | |
size_type | nnz () const |
Get the number of non zero entries. More... | |
size_type | M () const |
Get the number of columns. More... | |
B * | getValues () const |
Get the non-zero entries of the matrix. More... | |
int * | getRowIndex () const |
Get the row indices of the non-zero entries of the matrix. More... | |
int * | getColStart () const |
Get the column start indices. More... | |
ThisType & | operator= (const Matrix &mat) |
ThisType & | operator= (const ThisType &mat) |
void | free () |
Free allocated space. More... | |
virtual void | setMatrix (const Matrix &mat) |
Initialize data from given matrix. More... | |
Converter for SparseRowMatrix to column-compressed matrix. Specialization for SparseRowMatrix.
typedef Fem::SparseRowMatrix<B> Dune::ColCompMatrix< Fem::SparseRowMatrix< B > >::Matrix |
The type of the matrix to convert.
typedef int Dune::ColCompMatrix< Fem::SparseRowMatrix< B > >::size_type |
typedef ColCompMatrix<Fem::SparseRowMatrix<B> > Dune::ColCompMatrix< Fem::SparseRowMatrix< B > >::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.
References Dune::Fem::SparseRowMatrix< T >::cols(), Dune::Fem::SparseRowMatrix< T >::numNonZeros(), Dune::Fem::SparseRowMatrix< T >::realValue(), and Dune::Fem::SparseRowMatrix< T >::rows().