7 #ifndef __IPSPARSESYMLINEARSOLVERINTERFACE_HPP__ 8 #define __IPSPARSESYMLINEARSOLVERINTERFACE_HPP__ 127 const std::string& prefix
197 Index numberOfNegEVals
Compressed sparse row format for both lower and upper parts, with 0 offset.
virtual Number * GetValuesArrayPtr()=0
Method returning an internal array into which the nonzero elements (in the same order as ja) will be ...
ESymSolverStatus
Enum to report outcome of a linear solve.
Base class for interfaces to symmetric indefinite linear solvers for sparse matrices.
This is the base class for all algorithm strategy objects.
virtual ESymSolverStatus DetermineDependentRows(const Index *, const Index *, std::list< Index > &)
This method determines the list of row indices of the linearly dependent rows.
ipindex Index
Type of all indices of vectors, matrices etc.
Compressed sparse row format for upper triangular part, with 1 offset.
This file contains a base class for all exceptions and a set of macros to help with exceptions...
virtual EMatrixFormat MatrixFormat() const =0
Query of requested matrix type that the linear solver understands.
This class stores a list of user set options.
Triplet (MA27) format for lower triangular part.
virtual bool IncreaseQuality()=0
Request to increase quality of solution for next solve.
virtual bool ProvidesInertia() const =0
Query whether inertia is computed by linear solver.
virtual ESymSolverStatus InitializeStructure(Index dim, Index nonzeros, const Index *ia, const Index *ja)=0
Method for initializing internal structures.
virtual ESymSolverStatus MultiSolve(bool new_matrix, const Index *ia, const Index *ja, Index nrhs, Number *rhs_vals, bool check_NegEVals, Index numberOfNegEVals)=0
Solve operation for multiple right hand sides.
ipnumber Number
Type of all numbers.
SparseSymLinearSolverInterface()
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.
virtual ~SparseSymLinearSolverInterface()
EMatrixFormat
Enum to specify sparse matrix format.
virtual Index NumberOfNegEVals() const =0
Number of negative eigenvalues detected during last factorization.
Compressed sparse row format for both lower and upper parts, with 1 offset.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
Implementation of the initialization method that has to be overloaded by for each derived class...
Compressed sparse row format for upper triangular part, with 0 offset.