Fixed class comments, LinearSolverUmfpack::solve() properly returns a report.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-02-21 21:54:46 +01:00
parent 87723a08a0
commit 9ed9f8b288
3 changed files with 5 additions and 2 deletions

View File

@ -30,7 +30,7 @@ namespace Opm
{ {
/// Abstract interface for linear solvers. /// Concrete class encapsulating some dune-istl linear solvers.
class LinearSolverIstl : public LinearSolverInterface class LinearSolverIstl : public LinearSolverInterface
{ {
public: public:

View File

@ -55,6 +55,9 @@ namespace Opm
const_cast<double*>(sa) const_cast<double*>(sa)
}; };
call_UMFPACK(&A, rhs, solution); call_UMFPACK(&A, rhs, solution);
LinearSolverReport rep;
rep.converged = true;
return rep;
} }
} // namespace Opm } // namespace Opm

View File

@ -49,7 +49,7 @@ namespace Opm
{ {
/// Abstract interface for linear solvers. /// Concrete class encapsulating the UMFPACK direct linear solver.
class LinearSolverUmfpack : public LinearSolverInterface class LinearSolverUmfpack : public LinearSolverInterface
{ {
public: public: