Preconditionable Class Reference

Preconditionable Class Reference#

Reference API: gko::Preconditionable Class Reference
Reference API

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

Inheritance diagram for gko::Preconditionable:
[legend]

Public Member Functions

virtual std::shared_ptr< const LinOpget_preconditioner () const
 
virtual void set_preconditioner (std::shared_ptr< const LinOp > new_precond)
 

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

Referenced by gko::solver::EnablePreconditionable< DerivedType >::operator=().

◆ set_preconditioner()


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