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

for the (external) direct solvers More...

#include <DirectRunner.hpp>

Inherits InverseOperator, and LinearSolverInterface< M, X, Y >.

Classes

struct  Creator
 

Public Member Functions

 DirectRunner (std::string const &prefix)
 Constructor.
 
void init (M const &A) override
 initialize the matrix and maybe compute factorization More...
 
void finish () override
 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...
 

Detailed Description

template<class M, class X, class Y, template< class > class Solver>
class AMDiS::DirectRunner< M, X, Y, Solver >

for the (external) direct solvers

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

initialize the matrix and maybe compute factorization

Implements LinearSolverInterface< M, X, Y >.


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