Opm::cuistl::PreconditionerHolder< X, Y > Class Template Referenceabstract

Common interface for adapters that hold preconditioners. More...

#include <PreconditionerHolder.hpp>

Inheritance diagram for Opm::cuistl::PreconditionerHolder< X, Y >:
Inheritance graph

Public Member Functions

virtual std::shared_ptr< Dune::PreconditionerWithUpdate< X, Y > > getUnderlyingPreconditioner ()=0
 getUnderlyingPreconditioner gets the underlying preconditioner (preconditioner being held) More...
 

Detailed Description

template<class X, class Y>
class Opm::cuistl::PreconditionerHolder< X, Y >

Common interface for adapters that hold preconditioners.

Note
The goal is that this class will be made useless after further restructuring of the solver interfaces (FlexibleSolver and friends), but for this is needed as an intermediate layer. See specifically SolverAdapter.hpp for how this is used.

Member Function Documentation

◆ getUnderlyingPreconditioner()

template<class X , class Y >
virtual std::shared_ptr< Dune::PreconditionerWithUpdate< X, Y > > Opm::cuistl::PreconditionerHolder< X, Y >::getUnderlyingPreconditioner ( )
pure virtual

getUnderlyingPreconditioner gets the underlying preconditioner (preconditioner being held)

Implemented in Opm::cuistl::CuBlockPreconditioner< X, Y, C, P >, and Opm::cuistl::PreconditionerAdapter< X, Y, CudaPreconditionerType >.


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