9 #ifndef __IPSYMLINEARSOLVER_HPP__
10 #define __IPSYMLINEARSOLVER_HPP__
64 const std::string& prefix) = 0;
84 Index numberOfNegEVals)=0;
92 Index numberOfNegEVals)
94 std::vector<SmartPtr<const Vector> > rhsV(1);
96 std::vector<SmartPtr<Vector> > solV(1);
98 return MultiSolve(A, rhsV, solV, check_NegEVals,
This is the base class for all algorithm strategy objects.
This class stores a list of user set options.
Template class for Smart Pointers.
Base class for all derived symmetric linear solvers.
virtual bool IncreaseQuality()=0
Request to increase quality of solution for next solve.
virtual ~SymLinearSolver()
virtual Index NumberOfNegEVals() const =0
Number of negative eigenvalues detected during last factorization.
virtual ESymSolverStatus MultiSolve(const SymMatrix &A, std::vector< SmartPtr< const Vector > > &rhsV, std::vector< SmartPtr< Vector > > &solV, bool check_NegEVals, Index numberOfNegEVals)=0
Solve operation for multiple right hand sides.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
ESymSolverStatus Solve(const SymMatrix &A, const Vector &rhs, Vector &sol, bool check_NegEVals, Index numberOfNegEVals)
Solve operation for a single right hand side.
virtual bool ProvidesInertia() const =0
Query whether inertia is computed by linear solver.
This is the base class for all derived symmetric matrix types.
ESymSolverStatus
Enum to report outcome of a linear solve.
@ SYMSOLVER_FATAL_ERROR
Unrecoverable error in linear solver occurred.
@ SYMSOLVER_SUCCESS
Successful solve.
@ SYMSOLVER_WRONG_INERTIA
The number of negative eigenvalues is not correct.
@ SYMSOLVER_SINGULAR
Matrix seems to be singular; solve was aborted.
@ SYMSOLVER_CALL_AGAIN
Call the solver interface again after the matrix values have been restored.
int Index
Type of all indices of vectors, matrices etc.