dune-istl
2.6-git
|
Converter for BCRSMatrix to SuperLU Matrix. More...
#include <dune/istl/supermatrix.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 | |
SuperLUMatrix (const Matrix &mat) | |
Constructor that initializes the data. More... | |
SuperLUMatrix () | |
virtual | ~SuperLUMatrix () |
Destructor. More... | |
operator SuperMatrix & () | |
Cast to a SuperLU Matrix. More... | |
operator const SuperMatrix & () const | |
Cast to a SuperLU Matrix. More... | |
SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > > & | operator= (const BCRSMatrix< FieldMatrix< B, n, m >, TA > &mat) |
SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > > & | operator= (const SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > > &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 | setMatrix (const Matrix &mat) |
Initialize data from given matrix. More... | |
virtual void | free () |
free allocated space. 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 |
Public Attributes | |
int | N_ |
int | M_ |
int | Nnz_ |
B * | values |
int * | rowindex |
int * | colstart |
Converter for BCRSMatrix to SuperLU Matrix.
typedef BCRSMatrix<FieldMatrix<B,n,m>,TA> Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::Matrix |
The type of the matrix to convert.
typedef Matrix::size_type Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::size_type |
|
inlineexplicit |
Constructor that initializes the data.
mat | The matrix to convert. |
|
inline |
|
inlinevirtual |
Destructor.
|
inlinevirtual |
free allocated space.
Reimplemented from Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get the number of columns.
|
inlineinherited |
Get the number of rows.
|
inlineinherited |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Initialize data from given matrix.
Reimplemented from Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >.
|
inlinevirtual |
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 from Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |