Added possibility to set tolerance for linear solvers.

This commit is contained in:
Xavier Raynaud
2012-06-06 15:14:46 +02:00
parent d1a4fa6dcd
commit c81a840382
9 changed files with 94 additions and 5 deletions

View File

@@ -71,6 +71,14 @@ namespace Opm
const double* rhs,
double* solution) const = 0;
/// Set tolerance for the linear solver.
/// \param[in] tol tolerance value
virtual void setTolerance(const double tol) = 0;
/// Get tolerance for the linear solver.
/// \param[out] tolerance value
virtual double getTolerance() const = 0;
};