Ginkgo  Generated from pipelines/224724463 branch based on develop. Ginkgo version 1.3.0
A numerical linear algebra library targeting many-core architectures
Public Member Functions | List of all members
gko::Preconditionable Class Reference

A LinOp implementing this interface can be preconditioned. More...

#include <ginkgo/core/base/lin_op.hpp>

Public Member Functions

virtual std::shared_ptr< const LinOpget_preconditioner () const
 Returns the preconditioner operator used by the Preconditionable. More...
 
virtual void set_preconditioner (std::shared_ptr< const LinOp > new_precond)
 Sets the preconditioner operator used by the Preconditionable. More...
 

Detailed Description

A LinOp implementing this interface can be preconditioned.

Member Function Documentation

◆ get_preconditioner()

virtual std::shared_ptr<const LinOp> gko::Preconditionable::get_preconditioner ( ) const
inlinevirtual

Returns the preconditioner operator used by the Preconditionable.

Returns
the preconditioner operator used by the Preconditionable

◆ set_preconditioner()

virtual void gko::Preconditionable::set_preconditioner ( std::shared_ptr< const LinOp new_precond)
inlinevirtual

Sets the preconditioner operator used by the Preconditionable.

Parameters
new_precondthe new preconditioner operator used by the Preconditionable

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