![]() |
KASKADE 7 development version
|
Factorization with DirectType::PARDISO. More...
#include <pardiso_solve.hh>
Public Types | |
| typedef Scalar | field_type |
| The type of matrix elements (a field type). | |
| using | Options |
Public Member Functions | |
| PardisoFactorization (SparseIndexInt n, std::vector< SparseIndexInt >const &ridx, std::vector< SparseIndexInt >const &cidx, std::vector< Scalar >const &values, MatrixProperties property=MatrixProperties::GENERAL) | |
| ~PardisoFactorization () | |
| PardisoFactorization & | operator= (PardisoFactorization &&other) |
| void | swap (PardisoFactorization &other) |
| virtual void | solve (std::vector< Scalar > const &b, std::vector< Scalar > &x, int n, bool transposed=false) const |
| virtual void | solve (std::vector< Scalar > const &b, std::vector< Scalar > &x, bool transpose=false) const |
| void | solve (std::vector< Scalar > &b) const |
| Solves the system \( Ax=b \) for the given right hand side \( b \). | |
| void | solve (std::vector< Scalar > &b, int n, bool transposed=false) const |
| void | setVerbose (int verbose_) |
| int | getVerbose () const |
| Info const & | info () const |
| virtual size_t | size () const=0 |
| reports the dimension of the system | |
Protected Attributes | |
| Options | options |
| Info | info_ |
Factorization with DirectType::PARDISO.
Link with intel mkl if you want to use it. (Version from 2013 will not work, but from 2017 and 2018 works)
Definition at line 31 of file linalg/pardiso_solve.hh.
|
inherited |
The type of matrix elements (a field type).
Definition at line 48 of file factorization.hh.
|
inherited |
Definition at line 50 of file factorization.hh.
| Kaskade::PardisoFactorization< Scalar, SparseIndexInt, DIL >::PardisoFactorization | ( | SparseIndexInt | n, |
| std::vector< SparseIndexInt >const & | ridx, | ||
| std::vector< SparseIndexInt >const & | cidx, | ||
| std::vector< Scalar >const & | values, | ||
| MatrixProperties | property = MatrixProperties::GENERAL ) |
Construction is factorization! Input matrix in triplet format.
| n | size of the (square) matrix, i.e. the number of rows |
| ridx | row indices |
| cidx | column indices |
| values | entry values |
| property | matrix property |
Referenced by operator=(), and swap().
| Kaskade::PardisoFactorization< Scalar, SparseIndexInt, DIL >::~PardisoFactorization | ( | ) |
|
inlineinherited |
Definition at line 116 of file factorization.hh.
|
inlineinherited |
Definition at line 118 of file factorization.hh.
| PardisoFactorization & Kaskade::PardisoFactorization< Scalar, SparseIndexInt, DIL >::operator= | ( | PardisoFactorization< Scalar, SparseIndexInt, DIL > && | other | ) |
|
inlineinherited |
Definition at line 115 of file factorization.hh.
|
pure virtualinherited |
reports the dimension of the system
|
inlinevirtual |
Solves the system \( Ax=b \) for the given right hand side \( b \).
| [in,out] | b | right hand side, is overwritten with the solution \( x \). |
Reimplemented from Kaskade::Factorization< Scalar, int >.
Definition at line 65 of file linalg/pardiso_solve.hh.
Referenced by solve().
|
inline |
Definition at line 67 of file linalg/pardiso_solve.hh.
|
inlinevirtual |
Definition at line 62 of file linalg/pardiso_solve.hh.
|
virtual |
| void Kaskade::PardisoFactorization< Scalar, SparseIndexInt, DIL >::swap | ( | PardisoFactorization< Scalar, SparseIndexInt, DIL > & | other | ) |
|
protectedinherited |
Definition at line 127 of file factorization.hh.
|
protectedinherited |
Definition at line 126 of file factorization.hh.