Ginkgo
Generated from pipelines/1554403166 branch based on develop. Ginkgo version 1.9.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. More... | |
virtual void | set_preconditioner (std::shared_ptr< const LinOp > new_precond) |
Sets the preconditioner operator used by the Preconditionable. More... | |
A LinOp implementing this interface can be preconditioned.
|
inlinevirtual |
Returns the preconditioner operator used by the Preconditionable.
Referenced by gko::solver::EnablePreconditionable< Bicg< ValueType > >::operator=().
|
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< Bicgstab< ValueType > >, gko::solver::EnablePreconditionable< Gmres< ValueType > >, gko::solver::EnablePreconditionable< CbGmres< ValueType > >, gko::solver::EnablePreconditionable< Fcg< ValueType > >, gko::solver::EnablePreconditionable< Idr< ValueType > >, gko::solver::EnablePreconditionable< Cgs< ValueType > >, gko::solver::EnablePreconditionable< Gcr< ValueType > >, gko::solver::EnablePreconditionable< Cg< ValueType > >, and gko::solver::EnablePreconditionable< Bicg< ValueType > >.
Referenced by gko::solver::EnablePreconditionable< Bicg< ValueType > >::set_preconditioner().