Go to the documentation of this file.
9 #ifndef __IPSPARSESYMLINEARSOLVERINTERFACE_HPP__
10 #define __IPSPARSESYMLINEARSOLVERINTERFACE_HPP__
129 const std::string& prefix) = 0;
141 const Index* ja) = 0;
189 Index numberOfNegEVals)=0;
234 std::list<Index>& c_deps)
virtual ESymSolverStatus InitializeStructure(Index dim, Index nonzeros, const Index *ia, const Index *ja)=0
Method for initializing internal stuctures.
ESymSolverStatus
Enum to report outcome of a linear solve.
EMatrixFormat
Enum to specify sparse matrix format.
virtual double * GetValuesArrayPtr()=0
Method returing an internal array into which the nonzero elements (in the same order as ja) will be s...
virtual ~SparseSymLinearSolverInterface()
virtual EMatrixFormat MatrixFormat() const =0
Query of requested matrix type that the linear solver understands.
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.
virtual ESymSolverStatus DetermineDependentRows(const Index *ia, const Index *ja, std::list< Index > &c_deps)
This method determines the list of row indices of the linearly dependent rows.
SparseSymLinearSolverInterface()
This is the base class for all algorithm strategy objects.
Compressed sparse row format for both lwr and upr parts, with 1 offset.
virtual Index NumberOfNegEVals() const =0
Number of negative eigenvalues detected during last factorization.
Compressed sparse row format for lower triangular part, with 0 offset.
virtual bool IncreaseQuality()=0
Request to increase quality of solution for next solve.
virtual ESymSolverStatus MultiSolve(bool new_matrix, const Index *ia, const Index *ja, Index nrhs, double *rhs_vals, bool check_NegEVals, Index numberOfNegEVals)=0
Solve operation for multiple right hand sides.
This class stores a list of user set options.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
Compressed sparse row format for both lwr and upr parts, with 0 offset.
virtual bool ProvidesInertia() const =0
Query whether inertia is computed by linear solver.
virtual bool ProvidesDegeneracyDetection() const
Query whether the indices of linearly dependent rows/columns can be determined by this linear solver.
Unrecoverable error in linear solver occurred.