![]() |
Hex
2.2
Hydrogen-electron collision solver
|
LU factorization object. More...
#include <luft.h>

Public Member Functions | |
| baseClassRunTimeSelectionDefinitions (LUft,()) LUft() | |
| Default constructor. More... | |
| virtual | ~LUft () |
| Destructor. More... | |
| virtual void | factorize (CsrMatrix< LU_int_t, Complex > const &matrix, LUftData data=defaultLUftData)=0 |
| Factorize. More... | |
| virtual bool | valid () const |
| Validity indicator. More... | |
| virtual void | drop () |
| Free memory. More... | |
| virtual std::size_t | size () const |
| Size of the numerical data. More... | |
| virtual Real | cond () const |
| Estimation of the condition number. More... | |
| virtual void | solve (const cArrayView b, cArrayView x, int eqs) const =0 |
| Solve equations. More... | |
| virtual cArray | solve (const cArrayView b, int eqs=1) const |
| Solve equations. More... | |
| virtual void | link (std::string name) |
| Link to a disk file. More... | |
| virtual void | unlink () |
| Unlink disk file. More... | |
| virtual std::string | filename () const |
| Name of the linked disk file. More... | |
| virtual void | save (std::string name) const =0 |
| Save factorization object to a disk file. More... | |
| virtual void | save () const |
| virtual void | load (std::string name, bool throw_on_io_failure=true)=0 |
| Load factorization object from a disk file. More... | |
| virtual void | load () |
| virtual void | silent_load () |
This class is returned by the function CsrMatrix::factorize() and it provides some functions that can be used when solving equations with that LU factorization. Also, it is possible to store the decomposition to disk (link, save), destroy the data (drop) and load later when needed (load). The most important function is "solve".
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Note: Currently implemented only for UMFPACK backend.
Reimplemented in LUft_UMFPACK, and LUft_MUMPS.
|
inlinevirtual |
Release memory occupied by the LU-factorization numeric object.
Reimplemented in LUft_MUMPS, LUft_UMFPACK, and LUft_LAPACK.
|
pure virtual |
Implemented in LUft_UMFPACK, LUft_MUMPS, and LUft_LAPACK.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Implemented in LUft_MUMPS, LUft_UMFPACK, and LUft_LAPACK.
|
inlinevirtual |
|
pure virtual |
Stores the LU-factorization data to a disk file in the native format of the library used.
Implemented in LUft_MUMPS, LUft_UMFPACK, and LUft_LAPACK.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Return the number of bytes occupied by the stored elements of the LU-factorization. This doesn't contain any other structural data.
Reimplemented in LUft_UMFPACK, LUft_MUMPS, and LUft_LAPACK.
|
pure virtual |
The parameter "b" is assumed to contain several right hand side vectors (their count is supplied as the optional parameter "eqs"). The results are stored in "x", which has the same size as "b".
Implemented in LUft_MUMPS, LUft_UMFPACK, and LUft_LAPACK.
|
inlinevirtual |
The parameter "b" is assumed to contain several right hand side vectors (their count is supplied as the optional parameter "eqs").
|
inlinevirtual |
|
inlinevirtual |
Returns true when the object contains a valid LU factorization.
Reimplemented in LUft_UMFPACK, LUft_MUMPS, and LUft_LAPACK.
1.8.13