dune-istl
2.3beta2
|
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. | |
typedef Matrix::size_type | size_type |
Public Member Functions | |
ColCompMatrix (const Matrix &mat) | |
Constructor that initializes the data. | |
ColCompMatrix () | |
virtual | ~ColCompMatrix () |
Destructor. | |
size_type | N () const |
Get the number of rows. | |
size_type | nnz () const |
size_type | M () const |
Get the number of columns. | |
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. | |
virtual void | free () |
free allocated space. | |
virtual void | setMatrix (const Matrix &mat) |
Initialize data from given matrix. |
Public Attributes | |
int | N_ |
int | M_ |
int | Nnz_ |
B * | values |
int * | rowindex |
int * | colstart |
Friends | |
class | SeqOverlappingSchwarz |
struct | ColCompMatrixInitializer< BCRSMatrix< FieldMatrix< B, n, m >, TA > > |
struct | SeqOverlappingSchwarzAssembler< ColCompMatrix< Matrix > > |
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.
The | type of the row index set. |
mat | the matrix with the values |
mrs | The set of row (and column) indices to represent |
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 > >.
|
friend |
|
friend |
|
friend |
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 |