|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
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. | |
| 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. | |
Detailed Description
template<class T, class IndexT, class ValuesVector, class IndicesVector, class RowIndex>
class Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex >
class Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex >
Converter for SparseRowMatrix to column-compressed matrix. Specialization for SparseRowMatrix.
Member Typedef Documentation
◆ Matrix
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
| typedef Fem::SparseRowMatrix<T,IndexT,ValuesVector,IndicesVector> Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex >::Matrix |
The type of the matrix to convert.
◆ RowIndexType
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
| typedef RowIndex Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex >::RowIndexType |
◆ size_type
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
| typedef Matrix::size_type Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex >::size_type |
◆ ThisType
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
| typedef ColCompMatrix< Fem::SparseRowMatrix<T,IndexT,ValuesVector,IndicesVector> > Dune::ColCompMatrix< Fem::SparseRowMatrix< T, IndexT, ValuesVector, IndicesVector >, RowIndex >::ThisType |
The type of the matrix converted.
Constructor & Destructor Documentation
◆ ColCompMatrix() [1/2]
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inlineexplicit |
Constructor that initializes the data.
- Parameters
-
mat The matrix to convert.
◆ ColCompMatrix() [2/2]
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inline |
Empty constructor.
◆ ~ColCompMatrix()
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inlinevirtual |
Destructor.
Member Function Documentation
◆ free()
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inline |
Free allocated space.
◆ getColStart()
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inline |
Get the column start indices.
◆ getRowIndex()
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inline |
Get the row indices of the non-zero entries of the matrix.
◆ getValues()
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inline |
Get the non-zero entries of the matrix.
◆ M()
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inline |
Get the number of columns.
◆ N()
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inline |
Get the number of rows.
◆ nnz()
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inline |
Get the number of non zero entries.
◆ operator=() [1/2]
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inline |
◆ operator=() [2/2]
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inline |
◆ setMatrix()
template<class T , class IndexT , class ValuesVector , class IndicesVector , class RowIndex >
|
inlinevirtual |
Initialize data from given matrix.
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8