|
dune-istl
2.6-git
|
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. More... | |
| typedef Matrix::size_type | size_type |
Public Member Functions | |
| ColCompMatrix (const Matrix &mat) | |
| Constructor that initializes the data. More... | |
| ColCompMatrix () | |
| virtual | ~ColCompMatrix () |
| Destructor. More... | |
| size_type | N () const |
| Get the number of rows. More... | |
| size_type | nnz () const |
| size_type | M () const |
| Get the number of columns. More... | |
| B * | getValues () const |
| int * | getRowIndex () const |
| int * | getColStart () const |
| ColCompMatrix & | operator= (const Matrix &mat) |
| ColCompMatrix & | operator= (const ColCompMatrix &mat) |
| 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. More... | |
| virtual void | setMatrix (const Matrix &mat) |
| Initialize data from given matrix. More... | |
Public Attributes | |
| int | N_ |
| int | M_ |
| int | Nnz_ |
| B * | values |
| int * | rowindex |
| int * | colstart |
Converter for BCRSMatrix to column-compressed Matrix. specialization for BCRSMatrix.
| typedef BCRSMatrix<FieldMatrix<B,n,m>,TA> Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::Matrix |
The type of the matrix to convert.
| typedef Matrix::size_type Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::size_type |
|
explicit |
Constructor that initializes the data.
| mat | The matrix to convert. |
| Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::ColCompMatrix | ( | ) |
|
virtual |
Destructor.
|
virtual |
free allocated space.
Reimplemented in Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >.
|
inline |
|
inline |
|
inline |
|
inline |
Get the number of columns.
|
inline |
Get the number of rows.
|
inline |
| ColCompMatrix& Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::operator= | ( | const Matrix & | mat | ) |
| ColCompMatrix& Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::operator= | ( | const ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > > & | mat | ) |
|
virtual |
Initialize data from a given set of matrix rows and columns.
| mat | the matrix with the values |
| mrs | The set of row (and column) indices to remove |
Reimplemented in Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >.
|
virtual |
Initialize data from given matrix.
Reimplemented in Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >.
| int* Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::colstart |
| int Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::M_ |
| int Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::N_ |
| int Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::Nnz_ |
| int* Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::rowindex |
| B* Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::values |
1.8.13