![]() |
Ginkgo Generated from branch based on master. Ginkgo version 1.7.0
A numerical linear algebra library targeting many-core architectures
|
A LinOp implementing this interface can be preconditioned. More...
#include <ginkgo/core/base/lin_op.hpp>
Public Member Functions | |
virtual std::shared_ptr< const LinOp > | get_preconditioner () const |
Returns the preconditioner operator used by the Preconditionable. | |
virtual void | set_preconditioner (std::shared_ptr< const LinOp > new_precond) |
Sets the preconditioner operator used by the Preconditionable. | |
A LinOp implementing this interface can be preconditioned.
|
inlinevirtual |
Returns the preconditioner operator used by the Preconditionable.
|
inlinevirtual |
Sets the preconditioner operator used by the Preconditionable.
new_precond | the new preconditioner operator used by the Preconditionable |
Reimplemented in gko::solver::EnablePreconditionable< DerivedType >, gko::solver::EnablePreconditionable< Bicg< default_precision > >, gko::solver::EnablePreconditionable< Bicgstab< default_precision > >, gko::solver::EnablePreconditionable< CbGmres< default_precision > >, gko::solver::EnablePreconditionable< Cg< default_precision > >, gko::solver::EnablePreconditionable< Cgs< default_precision > >, gko::solver::EnablePreconditionable< Fcg< default_precision > >, gko::solver::EnablePreconditionable< Gcr< default_precision > >, gko::solver::EnablePreconditionable< Gmres< default_precision > >, and gko::solver::EnablePreconditionable< Idr< default_precision > >.
Referenced by gko::solver::EnablePreconditionable< DerivedType >::set_preconditioner().