Go to the documentation of this file.
11 #ifndef __IPMA86SOLVERINTERFACE_HPP__
12 #define __IPMA86SOLVERINTERFACE_HPP__
62 const std::string& prefix
86 Index numberOfNegEVals
ESymSolverStatus
Enum to report outcome of a linear solve.
int ndim_
Number of dimensions.
EMatrixFormat MatrixFormat() const
Query of requested matrix type that the linear solver understands.
EMatrixFormat
Enum to specify sparse matrix format.
void * keep_
Stores pointer to factors (only understood by Fortran code!)
struct ma86_control control_
This file contains a base class for all exceptions and a set of macros to help with exceptions.
bool ProvidesDegeneracyDetection() const
Query whether the indices of linearly dependent rows/columns can be determined by this linear solver.
@ CSR_Format_1_Offset
Compressed sparse row format for lower triangular part, with 1 offset.
Base class for interfaces to symmetric indefinite linear solvers for sparse matrices.
int Index
Type of all indices of vectors, matrices etc.
double * val_
Storage for variables.
bool ProvidesInertia() const
Query whether inertia is computed by linear solver.
Template class for Smart Pointers.
ESymSolverStatus InitializeStructure(Index dim, Index nonzeros, const Index *ia, const Index *ja)
Method for initializing internal structures.
Index NumberOfNegEVals() const
Number of negative eigenvalues detected during last factorization.
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Implementation of the initialization method that has to be overloaded by for each derived class.
Index * order_
Fill reducing permutation.
ESymSolverStatus MultiSolve(bool new_matrix, const Index *ia, const Index *ja, Index nrhs, double *rhs_vals, bool check_NegEVals, Index numberOfNegEVals)
Solve operation for multiple right hand sides.
double * GetValuesArrayPtr()
Method returning an internal array into which the nonzero elements (in the same order as ja) will be ...
ESymSolverStatus DetermineDependentRows(const Index *, const Index *, std::list< Index > &)
This method determines the list of row indices of the linearly dependent rows.
int numneg_
Number of negative pivots in last factorization.
This class stores a list of user set options.
bool IncreaseQuality()
Request to increase quality of solution for next solve.
bool pivtol_changed_
indicates if pivtol has been changed
@ SYMSOLVER_FATAL_ERROR
Unrecoverable error in linear solver occurred.