Geophysical Inversion and Modelling Library v1.5.4
|
Public Member Functions | |
CHOLMODWrapper (RSparseMatrix &S, bool verbose=false, int stype=-2, bool forceUmfpack=false) | |
CHOLMODWrapper (CSparseMatrix &S, bool verbose=false, int stype=-2, bool forceUmfpack=false) | |
virtual void | setMatrix (RSparseMatrix &S) |
virtual void | setMatrix (CSparseMatrix &S) |
virtual void | solve (const RVector &rhs, RVector &solution) |
virtual void | solve (const CVector &rhs, CVector &solution) |
![]() | |
SolverWrapper (bool verbose=false) | |
virtual void | setMatrix (const RSparseMatrix &S) |
virtual void | setMatrix (const CSparseMatrix &S) |
std::string | name () const |
Static Public Member Functions | |
static bool | valid () |
Protected Member Functions | |
void | init () |
void | free () |
int | initializeMatrix_ (RSparseMatrix &S) |
int | initializeMatrix_ (CSparseMatrix &S) |
template<class ValueType> | |
void | init_ (SparseMatrix< ValueType > &S, int stype) |
template<class ValueType> | |
int | initMatrixChol_ (SparseMatrix< ValueType > &S, int xType) |
template<class ValueType> | |
void | solveCHOL_ (const Vector< ValueType > &rhs, Vector< ValueType > &solution) |
template<class ValueType> | |
void | solveUmf_ (const Vector< ValueType > &rhs, Vector< ValueType > &solution) |
int | factorise_ () |
Protected Attributes | |
int | stype_ |
void * | c_ |
void * | A_ |
void * | L_ |
bool | useUmfpack_ |
bool | forceUmfpack_ |
void * | Numeric_ |
void * | NumericD_ |
int * | Ap_ |
int * | Ai_ |
int * | ApR_ |
int * | AiR_ |
RVector * | AxV_ |
RVector * | AzV_ |
![]() | |
std::string | name_ |
bool | dummy_ |
bool | verbose_ |
bool | isComplex_ |
uint | dim_ |
long | nVals_ |
double | dropTol_ |
double | tolerance_ |
double | maxiter_ |
Reimplemented from GIMLI::SolverWrapper.
Implements GIMLI::SolverWrapper.