Go to the documentation of this file.
7 #ifndef __IPSYMLINEARSOLVER_HPP__
8 #define __IPSYMLINEARSOLVER_HPP__
62 virtual bool InitializeImpl(
64 const std::string& prefix
87 Index numberOfNegEVals
100 Index numberOfNegEVals
103 std::vector<SmartPtr<const Vector> > rhsV(1);
105 std::vector<SmartPtr<Vector> > solV(1);
107 return MultiSolve(A, rhsV, solV, check_NegEVals, numberOfNegEVals);
117 virtual Index NumberOfNegEVals()
const = 0;
129 virtual bool IncreaseQuality() = 0;
135 virtual bool ProvidesInertia()
const = 0;
ESymSolverStatus
Enum to report outcome of a linear solve.
@ SYMSOLVER_SINGULAR
Matrix seems to be singular; solve was aborted.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
virtual ~SymLinearSolver()
int Index
Type of all indices of vectors, matrices etc.
ESymSolverStatus Solve(const SymMatrix &A, const Vector &rhs, Vector &sol, bool check_NegEVals, Index numberOfNegEVals)
Solve operation for a single right hand side.
Base class for all derived symmetric linear solvers.
Template class for Smart Pointers.
@ SYMSOLVER_SUCCESS
Successful solve.
This is the base class for all algorithm strategy objects.
This is the base class for all derived symmetric matrix types.
@ SYMSOLVER_WRONG_INERTIA
The number of negative eigenvalues is not correct.
@ SYMSOLVER_CALL_AGAIN
Call the solver interface again after the matrix values have been restored.
This class stores a list of user set options.
@ SYMSOLVER_FATAL_ERROR
Unrecoverable error in linear solver occurred.