\doxysection{gko::\+Preconditionable Class Reference}
\hypertarget{classgko_1_1Preconditionable}{}\label{classgko_1_1Preconditionable}\index{gko::Preconditionable@{gko::Preconditionable}}


A \doxylink{classgko_1_1LinOp}{Lin\+Op} implementing this interface can be preconditioned.  




{\ttfamily \+\#include $<$ginkgo/\+core/\+base/\+lin\+\_\+op.\+hpp$>$}



Inheritance diagram for gko::\+Preconditionable:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgko_1_1Preconditionable__inherit__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual std::\+shared\+\_\+ptr$<$ const \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$ \doxymbox{\hyperlink{classgko_1_1Preconditionable_abde941e32b5fc5007a4afe0f6d3fdfbc}{get\+\_\+preconditioner}} () const
\begin{DoxyCompactList}\small\item\em Returns the preconditioner operator used by the \doxylink{classgko_1_1Preconditionable}{Preconditionable}. \end{DoxyCompactList}\item 
virtual void \doxymbox{\hyperlink{classgko_1_1Preconditionable_a95db3e56eb17efbcde951c5ed144582d}{set\+\_\+preconditioner}} (std::\+shared\+\_\+ptr$<$ const \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$ new\+\_\+precond)
\begin{DoxyCompactList}\small\item\em Sets the preconditioner operator used by the \doxylink{classgko_1_1Preconditionable}{Preconditionable}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
A \doxylink{classgko_1_1LinOp}{Lin\+Op} implementing this interface can be preconditioned. 

\label{doc-func-members}
\Hypertarget{classgko_1_1Preconditionable_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{classgko_1_1Preconditionable_abde941e32b5fc5007a4afe0f6d3fdfbc}\index{gko::Preconditionable@{gko::Preconditionable}!get\_preconditioner@{get\_preconditioner}}
\index{get\_preconditioner@{get\_preconditioner}!gko::Preconditionable@{gko::Preconditionable}}
\doxysubsubsection{\texorpdfstring{get\_preconditioner()}{get\_preconditioner()}}
{\footnotesize\ttfamily \label{classgko_1_1Preconditionable_abde941e32b5fc5007a4afe0f6d3fdfbc} 
virtual std::\+shared\+\_\+ptr$<$ const \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$ gko::\+\+Preconditionable::\+get\+\_\+preconditioner (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Returns the preconditioner operator used by the \doxylink{classgko_1_1Preconditionable}{Preconditionable}. 

\begin{DoxyReturn}{Returns}
the preconditioner operator used by the \doxylink{classgko_1_1Preconditionable}{Preconditionable} 
\end{DoxyReturn}


Referenced by \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ab89378218874fc1441a4a3d995b01a02}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Derived\+Type $>$::\+operator=()}}.

\Hypertarget{classgko_1_1Preconditionable_a95db3e56eb17efbcde951c5ed144582d}\index{gko::Preconditionable@{gko::Preconditionable}!set\_preconditioner@{set\_preconditioner}}
\index{set\_preconditioner@{set\_preconditioner}!gko::Preconditionable@{gko::Preconditionable}}
\doxysubsubsection{\texorpdfstring{set\_preconditioner()}{set\_preconditioner()}}
{\footnotesize\ttfamily \label{classgko_1_1Preconditionable_a95db3e56eb17efbcde951c5ed144582d} 
virtual void gko::\+\+Preconditionable::\+set\+\_\+preconditioner (\begin{DoxyParamCaption}\item[{std::\+shared\+\_\+ptr$<$ const \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$}]{new\+\_\+precond}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Sets the preconditioner operator used by the \doxylink{classgko_1_1Preconditionable}{Preconditionable}. 


\begin{DoxyParams}{Parameters}
{\em new\+\_\+precond} & the new preconditioner operator used by the \doxylink{classgko_1_1Preconditionable}{Preconditionable} \\
\hline
\end{DoxyParams}


Reimplemented in \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Derived\+Type $>$}}, \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Bicg$<$ default\+\_\+precision $>$ $>$}}, \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Bicgstab$<$ default\+\_\+precision $>$ $>$}}, \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Cb\+Gmres$<$ default\+\_\+precision $>$ $>$}}, \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Cg$<$ default\+\_\+precision $>$ $>$}}, \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Cgs$<$ default\+\_\+precision $>$ $>$}}, \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Chebyshev$<$ default\+\_\+precision $>$ $>$}}, \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Fcg$<$ default\+\_\+precision $>$ $>$}}, \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Gcr$<$ default\+\_\+precision $>$ $>$}}, \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Gmres$<$ default\+\_\+precision $>$ $>$}}, \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Idr$<$ default\+\_\+precision $>$ $>$}}, \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Minres$<$ default\+\_\+precision $>$ $>$}}, and \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Pipe\+Cg$<$ default\+\_\+precision $>$ $>$}}.



Referenced by \doxymbox{\hyperlink{classgko_1_1solver_1_1EnablePreconditionable_ad1f52e213256cd7c50811787dfcf4288}{gko::\+solver::\+\+Enable\+Preconditionable$<$ Derived\+Type $>$::\+set\+\_\+preconditioner()}}.



The documentation for this class was generated from the following file:\+\begin{DoxyCompactItemize}
\item 
ginkgo/\+core/\+base/\+lin\+\_\+op.\+hpp\end{DoxyCompactItemize}
