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

Wrapper class for different MTL4 itl-solvers. These solvers are parametrized by Matrix and Vector. More...

#include <KrylovRunner.hpp>

Inherits LinearSolverInterface< M, X, Y >.

Classes

struct  Creator
 

Public Member Functions

 KrylovRunner (std::string const &prefix)
 Constructor.
 
void init (M const &A) override
 Implementation of LinearSolverInterface::init() More...
 
void finish () override
 Implementation of LinearSolverInterface::finish() More...
 
void apply (X &x, Y const &b, Dune::InverseOperatorResult &stat) override
 Implementation of 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...
 

Protected Member Functions

void createPrecon (std::string const &prefix)
 Create left/right preconditioners from parameters given in the init-file.
 

Detailed Description

template<class M, class X, class Y, class ITLSolver>
class AMDiS::KrylovRunner< M, X, Y, ITLSolver >

Wrapper class for different MTL4 itl-solvers. These solvers are parametrized by Matrix and Vector.

Member Function Documentation

◆ apply()

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

◆ finish()

void finish ( )
inlineoverridevirtual

◆ init()

void init ( M const &  A)
inlineoverridevirtual

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