![]() |
KASKADE 7 development version
|
Factorization of sparse linear systems with UMFPack. More...
#include <umfpack_solve.hh>
Public Types | |
| typedef Scalar | field_type |
| The type of matrix elements (a field type). | |
| using | Options = FactorizationOptions |
Public Member Functions | |
| UMFFactorization (UMFPackIndex n_, std::vector< UMFPackIndex > const &ridx, std::vector< UMFPackIndex > const &cidx, std::vector< Scalar > const &values, FactorizationOptions opt) | |
| Constructor keeping input data in triplet format (aka coordinate format) constant. Construction is factorization! | |
| void | solve (std::vector< Scalar > const &b, std::vector< Scalar > &x, bool transposed=false) const |
| Solves the system \( Ax=b\) (or \( A^T x=b\)for the given right hand side. | |
| void | solve (Scalar const *b, Scalar *x, bool transposed=false) const |
| Solves the system \( Ax=b \) for the given right hand side \( b \). | |
| void | solve (std::vector< Scalar > const &b, std::vector< Scalar > &x, int nr, bool transposed=false) const |
| void | solve (std::vector< Scalar > &b) const |
| Solves the system for the given right hand side. | |
| void | solve (Scalar *b) const |
| Solves the system for the given right hand side. | |
| virtual size_t | size () const |
| reports the dimension of the system | |
| void | setVerbose (int verbose_) |
| int | getVerbose () const |
| Info const & | info () const |
System solution | |
| virtual void | solve (field_type *b) const =0 |
| Solves the system \( Ax=b \) for the given right hand side \( b \). | |
Protected Attributes | |
| Info | info_ |
Factorization of sparse linear systems with UMFPack.
| Scalar | the scalar matrix entry type |
| UMFPackIndex | the integer type to be used by UMFPack. Either long or int. |
Definition at line 88 of file umfpack_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.
|
inline |
Constructor keeping input data in triplet format (aka coordinate format) constant. Construction is factorization!
| n | size of the (square) matrix, i.e. the number of rows |
| ridx | row indices |
| cidx | column indices |
| values | entry values |
Definition at line 101 of file umfpack_solve.hh.
|
inlineinherited |
Definition at line 116 of file factorization.hh.
Referenced by Kaskade::MUMPSFactorization< Scalar >::init(), Kaskade::MUMPSFactorization< Scalar >::MUMPSFactorization(), Kaskade::MUMPSFactorization< Scalar >::MUMPSFactorization(), Kaskade::SUPERLUFactorization< Scalar >::SUPERLUFactorization(), and Kaskade::SUPERLUFactorization< Scalar >::SUPERLUFactorization().
|
inlineinherited |
Definition at line 118 of file factorization.hh.
|
inlineinherited |
Definition at line 115 of file factorization.hh.
Referenced by Kaskade::MUMPSFactorization< Scalar >::MUMPSFactorization(), and Kaskade::MUMPSFactorization< Scalar >::MUMPSFactorization().
|
inlinevirtual |
reports the dimension of the system
Implements Kaskade::Factorization< Scalar >.
Definition at line 174 of file umfpack_solve.hh.
Referenced by UMFFactorization().
|
pure virtualinherited |
Solves the system \( Ax=b \) for the given right hand side \( b \).
| [in,out] | b | right hand side, is overwritten with the solution \( x \). This must point to a memory region of length of system dimension. |
|
inline |
Solves the system for the given right hand side.
This is less efficient than providing the solution vector separately.
Definition at line 164 of file umfpack_solve.hh.
|
inlinevirtual |
Solves the system \( Ax=b \) for the given right hand side \( b \).
| [in] | b | the right hand side |
| [out] | x | the solution. x must point to a memory region of length of system dimension. |
Implements Kaskade::Factorization< Scalar >.
Definition at line 131 of file umfpack_solve.hh.
|
inlinevirtual |
Solves the system for the given right hand side.
This is less efficient than providing the solution vector separately.
Reimplemented from Kaskade::Factorization< Scalar >.
Definition at line 150 of file umfpack_solve.hh.
|
inlinevirtual |
Solves the system \( Ax=b\) (or \( A^T x=b\)for the given right hand side.
| [out] | x | solution vector (will be resized to the size of the matrix). |
Reimplemented from Kaskade::Factorization< Scalar >.
Definition at line 124 of file umfpack_solve.hh.
Referenced by solve(), solve(), and Kaskade::Limex< Eq >::step().
|
inline |
Definition at line 136 of file umfpack_solve.hh.
|
protectedinherited |
Definition at line 127 of file factorization.hh.
Referenced by Kaskade::MUMPSFactorization< Scalar >::factorize(), and info().