mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fixed class comments, LinearSolverUmfpack::solve() properly returns a report.
This commit is contained in:
parent
87723a08a0
commit
9ed9f8b288
@ -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:
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user