AMDiS 2.11-git
The Adaptive Multi-Dimensional Simulation Toolbox
 
Loading...
Searching...
No Matches
SolverPrecon< M, X, Y > Class Template Reference

Use a LinearSolver as Preconditioner. More...

#include <SolverPrecon.hpp>

Inherits PreconditionerInterface< M, X, Y >.

Classes

struct  Creator
 A creator to be used instead of the constructor. More...
 

Public Member Functions

 SolverPrecon (std::string const &prefix)
 
void init (M const &matrix) override
 Implementation of PreconditionerBase::init()
 
void finish () override
 Implementation of PreconditionerInterface::exit()
 
void solve (X const &x, Y &y) const override
 Implementation of PreconditionerInterface::solve()
 
void adjoint_solve (X const &x, Y &y) const override
 Implementation of PreconditionerInterface::adjointSolve()
 
- Public Member Functions inherited from PreconditionerInterface< M, X, Y >
virtual ~PreconditionerInterface ()=default
 Virtual destructor.
 

Detailed Description

template<class M, class X, class Y>
class AMDiS::SolverPrecon< M, X, Y >

Use a LinearSolver as Preconditioner.

Member Function Documentation

◆ adjoint_solve()

template<class M , class X , class Y >
void adjoint_solve ( X const &  x,
Y &  y 
) const
inlineoverridevirtual

Implementation of PreconditionerInterface::adjointSolve()

Reimplemented from PreconditionerInterface< M, X, Y >.

◆ finish()

template<class M , class X , class Y >
void finish ( )
inlineoverridevirtual

Implementation of PreconditionerInterface::exit()

Implements PreconditionerInterface< M, X, Y >.

◆ init()

template<class M , class X , class Y >
void init ( M const &  matrix)
inlineoverridevirtual

Implementation of PreconditionerBase::init()

Implements PreconditionerInterface< M, X, Y >.

◆ solve()

template<class M , class X , class Y >
void solve ( X const &  x,
Y &  y 
) const
inlineoverridevirtual

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