20 #ifndef OPM_LINEARSOLVERUMFPACK_HEADER_INCLUDED 21 #define OPM_LINEARSOLVERUMFPACK_HEADER_INCLUDED 24 #include <opm/core/linalg/LinearSolverInterface.hpp> 59 const boost::any& add=boost::any())
const;
79 #endif // OPM_LINEARSOLVERUMFPACK_HEADER_INCLUDED Struct for reporting data about the solution process back to the caller.
Definition: LinearSolverInterface.hpp:41
Abstract interface for linear solvers.
Definition: LinearSolverInterface.hpp:32
LinearSolverReport solve(const CSRMatrix *A, const double *rhs, double *solution) const
Solve a linear system, with a matrix given in compressed sparse row format.
Definition: LinearSolverInterface.cpp:37
virtual LinearSolverReport solve(const int size, const int nonzeros, const int *ia, const int *ja, const double *sa, const double *rhs, double *solution, const boost::any &add=boost::any()) const
Solve a linear system, with a matrix given in compressed sparse row format.
Definition: LinearSolverUmfpack.cpp:43
Definition: AnisotropicEikonal.cpp:446
virtual double getTolerance() const
Get tolerance for the linear solver.
Definition: LinearSolverUmfpack.cpp:69
Concrete class encapsulating the UMFPACK direct linear solver.
Definition: LinearSolverUmfpack.hpp:32
virtual void setTolerance(const double)
Set tolerance for the linear solver.
Definition: LinearSolverUmfpack.cpp:65
LinearSolverUmfpack()
Default constructor.
Definition: LinearSolverUmfpack.cpp:28
virtual ~LinearSolverUmfpack()
Destructor.
Definition: LinearSolverUmfpack.cpp:35