Preconditionable Class Reference#
|
Reference API
|
#include <ginkgo/core/base/lin_op.hpp>
Public Member Functions | |
| virtual std::shared_ptr< const LinOp > | get_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()
|
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()
|
inlinevirtual |
Sets the preconditioner operator used by the Preconditionable.
- Parameters
-
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 > >, gko::solver::EnablePreconditionable< Idr< default_precision > >, and gko::solver::EnablePreconditionable< Minres< default_precision > >.
Referenced by gko::solver::EnablePreconditionable< DerivedType >::set_preconditioner().
The documentation for this class was generated from the following file:
- ginkgo/core/base/lin_op.hpp
Generated by