20 #ifndef OPM_LINEARSOLVERINTERFACE_HEADER_INCLUDED 21 #define OPM_LINEARSOLVERINTERFACE_HEADER_INCLUDED 23 #include<boost/any.hpp> 45 double residual_reduction;
56 double* solution)
const;
74 const boost::any& add=boost::any())
const = 0;
91 #endif // OPM_LINEARSOLVERINTERFACE_HEADER_INCLUDED Basic compressed-sparse row (CSR) matrix data structure.
Definition: sparse_sys.h:38
Struct for reporting data about the solution process back to the caller.
Definition: LinearSolverInterface.hpp:41
virtual double getTolerance() const =0
Get tolerance for the linear solver.
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 void setTolerance(const double tol)=0
Set tolerance for the linear solver.
Definition: AnisotropicEikonal.cpp:446
virtual ~LinearSolverInterface()
Virtual destructor.
Definition: LinearSolverInterface.cpp:29