opm-simulators
Dune::Preconditioner2InverseOperator< X > Class Template Reference

Adapter exposing a preconditioner through the inverse-operator interface. More...

#include <Preconditioner2InverseOperator.hpp>

Inheritance diagram for Dune::Preconditioner2InverseOperator< X >:

Public Types

using PreconditionerType = Preconditioner< X, X >
 

Public Member Functions

 Preconditioner2InverseOperator (PreconditionerType &prec)
 
 Preconditioner2InverseOperator (std::shared_ptr< PreconditionerType > prec)
 
void apply (X &x, X &b, InverseOperatorResult &res) override
 
void apply (X &x, X &b, [[maybe_unused]] double reduction, InverseOperatorResult &res) override
 
SolverCategory::Category category () const override
 

Detailed Description

template<class X>
class Dune::Preconditioner2InverseOperator< X >

Adapter exposing a preconditioner through the inverse-operator interface.

Each apply() call performs one preconditioner application. Unlike LoopSolver it does not update the defect with the linear operator or run iterative convergence checks.


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