Inherited by LinearSolver< Mat, VecX, VecY >, LinearSolver< Mat, VecX, VecY >, and LinearSolver< Mat, VecX, VecY >.
Public Member Functions | |
| virtual void | init (M const &A)=0 |
| Prepare the solve (and preconditioner), e.g. make a factorization of the matrix, or extract its diagonal in a jacobian precon. | |
| virtual void | finish ()=0 |
| Cleanup the solver, e.g. free the previously created factorization. | |
| virtual void | apply (X &x, Y const &b, Dune::InverseOperatorResult &res)=0 |
| Apply the inverse operator to the rhs vector b. | |
|
pure virtual |
Apply the inverse operator to the rhs vector b.
Implemented in LinearSolver< Mat, VecX, VecY >, DirectRunner< M, X, Y, Solver >, IterativeRunner< M, X, Y, IterativeSolver >, KrylovRunner< M, X, Y, ITLSolver >, and UmfpackRunner< M, X, Y >.
|
pure virtual |
Cleanup the solver, e.g. free the previously created factorization.
Implemented in IterativeRunner< M, X, Y, IterativeSolver >, DirectRunner< M, X, Y, Solver >, LinearSolver< Mat, VecX, VecY >, LinearSolver< Mat, VecX, VecY >, KrylovRunner< M, X, Y, ITLSolver >, LinearSolver< Mat, VecX, VecY >, UmfpackRunner< M, X, Y >, and LinearSolver< Mat, VecX, VecY >.
|
pure virtual |
Prepare the solve (and preconditioner), e.g. make a factorization of the matrix, or extract its diagonal in a jacobian precon.
Implemented in IterativeRunner< M, X, Y, IterativeSolver >, DirectRunner< M, X, Y, Solver >, KrylovRunner< M, X, Y, ITLSolver >, UmfpackRunner< M, X, Y >, and LinearSolver< Mat, VecX, VecY >.