AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
IterativeRunner< M, X, Y, IterativeSolver > Class Template Reference

Inherits LinearSolverInterface< M, X, Y >.

Public Member Functions

 IterativeRunner (std::string const &prefix)
 
void init (M const &A)
 initialize the matrix and maybe compute factorization More...
 
void finish ()
 Implements LinearSolverInterface::finish() More...
 
void apply (X &x, Y const &b, Dune::InverseOperatorResult &stat) override
 Implements LinearSolverInterface::apply() More...
 
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. More...
 
virtual void finish ()=0
 Cleanup the solver, e.g. free the previously created factorization. More...
 
virtual void apply (X &x, Y const &b, Dune::InverseOperatorResult &res)=0
 Apply the inverse operator to the rhs vector b. More...
 

Member Function Documentation

◆ apply()

void apply ( X &  x,
Y const &  b,
Dune::InverseOperatorResult &  stat 
)
inlineoverridevirtual

◆ finish()

void finish ( )
inlinevirtual

◆ init()

void init ( M const &  A)
inlinevirtual

initialize the matrix and maybe compute factorization

Implements LinearSolverInterface< M, X, Y >.


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