|
typedef Dune::BCRSMatrix< FieldMatrix< T, n, m >, A > | Matrix |
| The matrix type. More...
|
|
typedef Dune::BCRSMatrix< FieldMatrix< T, n, m >, A > | matrix_type |
|
typedef Dune::ColCompMatrix< Matrix > | SPQRMatrix |
| The corresponding SuperLU Matrix type. More...
|
|
typedef ColCompMatrixInitializer< BCRSMatrix< FieldMatrix< T, n, m >, A > > | MatrixInitializer |
| Type of an associated initializer class. More...
|
|
typedef Dune::BlockVector< FieldVector< T, m >, typename A::template rebind< FieldVector< T, m > >::other > | domain_type |
| The type of the domain of the solver. More...
|
|
typedef Dune::BlockVector< FieldVector< T, n >, typename A::template rebind< FieldVector< T, n > >::other > | range_type |
| The type of the range of the solver. More...
|
|
typedef BlockVector< FieldVector< T, m >, A::template rebind< FieldVector< T, m > >::other > ::field_type | field_type |
| The field type of the operator. More...
|
|
typedef FieldTraits< field_type >::real_type | real_type |
| The real type of the field type (is the same if using real numbers, but differs for std::complex) More...
|
|
typedef Simd::Scalar< real_type > | scalar_real_type |
| scalar type underlying the field_type More...
|
|
|
virtual SolverCategory::Category | category () const |
| Category of the solver (see SolverCategory::Category) More...
|
|
| SPQR (const Matrix &matrix, int verbose=0) |
| Construct a solver object from a BCRSMatrix. More...
|
|
| SPQR (const Matrix &matrix, int verbose, bool) |
| Constructor for compatibility with SuperLU standard constructor. More...
|
|
| SPQR () |
| Default constructor. More...
|
|
virtual | ~SPQR () |
| Destructor. More...
|
|
virtual void | apply (domain_type &x, range_type &b, InverseOperatorResult &res) |
| Apply inverse operator,. More...
|
|
virtual void | apply (domain_type &x, range_type &b, double reduction, InverseOperatorResult &res) |
| apply inverse operator, with given convergence criteria. More...
|
|
void | setOption (unsigned int option, double value) |
|
void | setMatrix (const Matrix &matrix) |
| Initialize data from given matrix. More...
|
|
template<class S > |
void | setSubMatrix (const Matrix &matrix, const S &rowIndexSet) |
|
void | setVerbosity (int v) |
| Sets the verbosity level for the solver. More...
|
|
SuiteSparseQR_factorization< T > * | getFactorization () |
| Return the matrix factorization. More...
|
|
SPQRMatrix & | getInternalMatrix () |
| Return the column coppressed matrix. More...
|
|
void | free () |
| Free allocated space. More...
|
|
const char * | name () |
| Get method name. More...
|
|
virtual void | apply (BlockVector< FieldVector< T, m >, A::template rebind< FieldVector< T, m > >::other > &x, BlockVector< FieldVector< T, n >, A::template rebind< FieldVector< T, n > >::other > &b, InverseOperatorResult &res)=0 |
| Apply inverse operator,. More...
|
|
virtual void | apply (BlockVector< FieldVector< T, m >, A::template rebind< FieldVector< T, m > >::other > &x, BlockVector< FieldVector< T, n >, A::template rebind< FieldVector< T, n > >::other > &b, double reduction, InverseOperatorResult &res)=0 |
| apply inverse operator, with given convergence criteria. More...
|
|
virtual SolverCategory::Category | category () const=0 |
| Category of the solver (see SolverCategory::Category) More...
|
|
template<typename T, typename A, int n, int m>
class Dune::SPQR< BCRSMatrix< FieldMatrix< T, n, m >, A > >
The SPQR direct sparse solver for matrices of type BCRSMatrix.
Specialization for the Dune::BCRSMatrix. SPQR will always go double precision and supports complex numbers too (use std::complex<double> for that).
- Template Parameters
-
T | Number type. Only double and std::complex<double> is supported |
A | STL-compatible allocator type |
n | Number of rows in a matrix block |
m | Number of columns in a matrix block |
- Note
- This will only work if dune-istl has been configured to use SPQR