AMDiS  2.10
The Adaptive Multi-Dimensional Simulation Toolbox
LinearSolverInterface< M, X, Y > Class Template Referenceabstract

Inherited by DirectRunner< M, X, Y, Solver >, IterativeRunner< M, X, Y, IterativeSolver >, KrylovRunner< M, X, Y, ITLSolver >, and UmfpackRunner< M, X, Y >.

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.
 

The documentation for this class was generated from the following file: