\doxysection{ilu.\+hpp}
\hypertarget{preconditioner_2ilu_8hpp_source}{}\label{preconditioner_2ilu_8hpp_source}\index{ginkgo/core/preconditioner/ilu.hpp@{ginkgo/core/preconditioner/ilu.hpp}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{//\ SPDX-\/FileCopyrightText:\ 2017\ -\/\ 2025\ The\ Ginkgo\ authors}}
\DoxyCodeLine{00002\ \textcolor{comment}{//}}
\DoxyCodeLine{00003\ \textcolor{comment}{//\ SPDX-\/License-\/Identifier:\ BSD-\/3-\/Clause}}
\DoxyCodeLine{00004\ }
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#ifndef\ GKO\_PUBLIC\_CORE\_PRECONDITIONER\_ILU\_HPP\_}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#define\ GKO\_PUBLIC\_CORE\_PRECONDITIONER\_ILU\_HPP\_}}
\DoxyCodeLine{00007\ }
\DoxyCodeLine{00008\ }
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ <memory>}}
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#include\ <type\_traits>}}
\DoxyCodeLine{00011\ }
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#include\ <ginkgo/core/base/abstract\_factory.hpp>}}
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#include\ <ginkgo/core/base/composition.hpp>}}
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#include\ <ginkgo/core/base/exception.hpp>}}
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#include\ <ginkgo/core/base/exception\_helpers.hpp>}}
\DoxyCodeLine{00016\ \textcolor{preprocessor}{\#include\ <ginkgo/core/base/lin\_op.hpp>}}
\DoxyCodeLine{00017\ \textcolor{preprocessor}{\#include\ <ginkgo/core/base/precision\_dispatch.hpp>}}
\DoxyCodeLine{00018\ \textcolor{preprocessor}{\#include\ <ginkgo/core/base/type\_traits.hpp>}}
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#include\ <ginkgo/core/config/config.hpp>}}
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#include\ <ginkgo/core/config/registry.hpp>}}
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#include\ <ginkgo/core/factorization/par\_ilu.hpp>}}
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#include\ <ginkgo/core/matrix/dense.hpp>}}
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#include\ <ginkgo/core/solver/solver\_traits.hpp>}}
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#include\ <ginkgo/core/solver/triangular.hpp>}}
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ <ginkgo/core/stop/combined.hpp>}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ <ginkgo/core/stop/iteration.hpp>}}
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#include\ <ginkgo/core/stop/residual\_norm.hpp>}}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \textcolor{keyword}{namespace\ }\doxymbox{\hyperlink{namespacegko}{gko}}\ \{}
\DoxyCodeLine{00031\ \textcolor{keyword}{namespace\ }\doxymbox{\hyperlink{namespacegko_1_1preconditioner}{preconditioner}}\ \{}
\DoxyCodeLine{00032\ \textcolor{keyword}{namespace\ }detail\ \{}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00035\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ Type>}
\DoxyCodeLine{00036\ \textcolor{keyword}{constexpr}\ \textcolor{keywordtype}{bool}\ support\_ilu\_parse\ =}
\DoxyCodeLine{00037\ \ \ \ \ std::is\_same\_v<typename\ Type::l\_solver\_type,\ LinOp>\&\&}
\DoxyCodeLine{00038\ \ \ \ \ \ \ \ \ std::is\_same\_v<typename\ Type::u\_solver\_type,\ LinOp>;}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00041\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ Ilu,\ std::enable\_if\_t<!support\_ilu\_parse<Ilu>>*\ =\ \textcolor{keywordtype}{nullptr}>}
\DoxyCodeLine{00042\ \textcolor{keyword}{typename}\ Ilu::parameters\_type\ ilu\_parse(}
\DoxyCodeLine{00043\ \ \ \ \ \textcolor{keyword}{const}\ config::pnode\&\ config,\ \textcolor{keyword}{const}\ config::registry\&\ context,}
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keyword}{const}\ config::type\_descriptor\&\ td\_for\_child)}
\DoxyCodeLine{00045\ \{}
\DoxyCodeLine{00046\ \ \ \ \ GKO\_INVALID\_STATE(}
\DoxyCodeLine{00047\ \ \ \ \ \ \ \ \ \textcolor{stringliteral}{"{}preconditioner::Ilu\ only\ supports\ limited\ type\ for\ parse."{}});}
\DoxyCodeLine{00048\ \}}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ Ilu,\ std::enable\_if\_t<support\_ilu\_parse<Ilu>>*\ =\ \textcolor{keywordtype}{nullptr}>}
\DoxyCodeLine{00051\ \textcolor{keyword}{typename}\ Ilu::parameters\_type\ ilu\_parse(}
\DoxyCodeLine{00052\ \ \ \ \ \textcolor{keyword}{const}\ config::pnode\&\ config,\ \textcolor{keyword}{const}\ config::registry\&\ context,}
\DoxyCodeLine{00053\ \ \ \ \ \textcolor{keyword}{const}\ config::type\_descriptor\&\ td\_for\_child);}
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00055\ \}\ \ \textcolor{comment}{//\ namespace\ detail}}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00110\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ LSolverTypeOrValueType\ =\ solver::LowerTrs<>,}
\DoxyCodeLine{00111\ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{typename}\ USolverTypeOrValueType\ =}
\DoxyCodeLine{00112\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gko::detail::transposed\_type<LSolverTypeOrValueType>,}
\DoxyCodeLine{00113\ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ ReverseApply\ =\ false,\ \textcolor{keyword}{typename}\ IndexType\ =\ \textcolor{keywordtype}{int}32>}
\DoxyCodeLine{00114\ \textcolor{keyword}{class\ }\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}}
\DoxyCodeLine{00115\ \ \ \ \ :\ \textcolor{keyword}{public}\ \doxymbox{\hyperlink{classgko_1_1EnableLinOp}{EnableLinOp}}<Ilu<LSolverTypeOrValueType,\ USolverTypeOrValueType,}
\DoxyCodeLine{00116\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ReverseApply,\ IndexType>>,}
\DoxyCodeLine{00117\ \ \ \ \ \ \ \textcolor{keyword}{public}\ \doxymbox{\hyperlink{classgko_1_1Transposable}{Transposable}}\ \{}
\DoxyCodeLine{00118\ \ \ \ \ \textcolor{keyword}{friend}\ \textcolor{keyword}{class\ }\doxymbox{\hyperlink{classgko_1_1EnableLinOp}{EnableLinOp}}<\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}>;}
\DoxyCodeLine{00119\ \ \ \ \ \textcolor{keyword}{friend}\ \textcolor{keyword}{class\ }\doxymbox{\hyperlink{classgko_1_1EnablePolymorphicObject}{EnablePolymorphicObject}}<\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}},\ \doxymbox{\hyperlink{classgko_1_1LinOp}{LinOp}}>;}
\DoxyCodeLine{00120\ }
\DoxyCodeLine{00121\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00122\ \ \ \ \ \textcolor{keyword}{static\_assert}(}
\DoxyCodeLine{00123\ \ \ \ \ \ \ \ \ std::is\_same\_v<gko::detail::get\_value\_type<LSolverTypeOrValueType>,}
\DoxyCodeLine{00124\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gko::detail::get\_value\_type<USolverTypeOrValueType>>,}
\DoxyCodeLine{00125\ \ \ \ \ \ \ \ \ \textcolor{stringliteral}{"{}Both\ the\ L-\/\ and\ the\ U-\/solver\ must\ use\ the\ same\ \`{}value\_type`!"{}});}
\DoxyCodeLine{00126\ \ \ \ \ \textcolor{keyword}{using\ }value\_type\ =\ gko::detail::get\_value\_type<LSolverTypeOrValueType>;}
\DoxyCodeLine{00127\ \ \ \ \ \textcolor{keyword}{using\ }l\_solver\_type\ =}
\DoxyCodeLine{00128\ \ \ \ \ \ \ \ \ std::conditional\_t<gko::detail::is\_ginkgo\_linop<LSolverTypeOrValueType>,}
\DoxyCodeLine{00129\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ LSolverTypeOrValueType,\ \doxymbox{\hyperlink{classgko_1_1LinOp}{LinOp}}>;}
\DoxyCodeLine{00130\ \ \ \ \ \textcolor{keyword}{using\ }u\_solver\_type\ =}
\DoxyCodeLine{00131\ \ \ \ \ \ \ \ \ std::conditional\_t<gko::detail::is\_ginkgo\_linop<USolverTypeOrValueType>,}
\DoxyCodeLine{00132\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ USolverTypeOrValueType,\ \doxymbox{\hyperlink{classgko_1_1LinOp}{LinOp}}>;}
\DoxyCodeLine{00133\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keyword}{constexpr}\ \textcolor{keywordtype}{bool}\ performs\_reverse\_apply\ =\ ReverseApply;}
\DoxyCodeLine{00134\ \ \ \ \ \textcolor{keyword}{using\ }index\_type\ =\ IndexType;}
\DoxyCodeLine{00135\ \ \ \ \ \textcolor{keyword}{using\ }transposed\_type\ =}
\DoxyCodeLine{00136\ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu<gko::detail::transposed\_type<USolverTypeOrValueType>}},}
\DoxyCodeLine{00137\ \ \ \ \ \ \ \ \ \ \ \ \ gko::detail::transposed\_type<LSolverTypeOrValueType>,\ ReverseApply,}
\DoxyCodeLine{00138\ \ \ \ \ \ \ \ \ \ \ \ \ IndexType>;}
\DoxyCodeLine{00139\ }
\DoxyCodeLine{00140\ \ \ \ \ \textcolor{keyword}{class\ }\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_1_1Factory}{Factory}};}
\DoxyCodeLine{00141\ }
\DoxyCodeLine{00142\ \ \ \ \ \textcolor{keyword}{struct\ }\doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type}{parameters\_type}}}
\DoxyCodeLine{00143\ \ \ \ \ \ \ \ \ :\ \textcolor{keyword}{public}\ \doxymbox{\hyperlink{classgko_1_1enable__parameters__type}{enable\_parameters\_type}}<parameters\_type,\ Factory>\ \{}
\DoxyCodeLine{00147\ \ \ \ \ \ \ \ \ std::shared\_ptr<const\ gko::detail::factory\_type<l\_solver\_type>>}
\DoxyCodeLine{00148\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type_a401b5118b6cf264972d8d4b51da85496}{l\_solver\_factory}}\{\};}
\DoxyCodeLine{00149\ }
\DoxyCodeLine{00153\ \ \ \ \ \ \ \ \ std::shared\_ptr<const\ gko::detail::factory\_type<u\_solver\_type>>}
\DoxyCodeLine{00154\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type_a61f96b7a91dff2e5684567bd9c422cee}{u\_solver\_factory}}\{\};}
\DoxyCodeLine{00155\ }
\DoxyCodeLine{00159\ \ \ \ \ \ \ \ \ std::shared\_ptr<const\ LinOpFactory>\ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type_ad12eacd790cad6f659b011ccd76bc1cb}{factorization\_factory}}\{\};}
\DoxyCodeLine{00160\ }
\DoxyCodeLine{00161\ \ \ \ \ \ \ \ \ GKO\_DEPRECATED(\textcolor{stringliteral}{"{}use\ with\_l\_solver\ instead"{}})}
\DoxyCodeLine{00162\ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type}{parameters\_type}}\&\ with\_l\_solver\_factory(}
\DoxyCodeLine{00163\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1deferred__factory__parameter}{deferred\_factory\_parameter}}<}
\DoxyCodeLine{00164\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ const\ \doxymbox{\hyperlink{namespacegko}{gko}}::detail::factory\_type<l\_solver\_type>>}
\DoxyCodeLine{00165\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_1_1solver}{solver}})}
\DoxyCodeLine{00166\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00167\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type_a0a1d24fbe041045f15ef9385a1784366}{with\_l\_solver}}(std::move(\doxymbox{\hyperlink{namespacegko_1_1solver}{solver}}));}
\DoxyCodeLine{00168\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00169\ }
\DoxyCodeLine{00175\ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type}{parameters\_type}}\&\ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type_a0a1d24fbe041045f15ef9385a1784366}{with\_l\_solver}}(}
\DoxyCodeLine{00176\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1deferred__factory__parameter}{deferred\_factory\_parameter}}<}
\DoxyCodeLine{00177\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ gko::detail::factory\_type<l\_solver\_type>>}
\DoxyCodeLine{00178\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_1_1solver}{solver}})}
\DoxyCodeLine{00179\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00180\ \ \ \ \ \ \ \ \ \ \ \ \ this-\/>l\_solver\_generator\ =\ std::move(\doxymbox{\hyperlink{namespacegko_1_1solver}{solver}});}
\DoxyCodeLine{00181\ \ \ \ \ \ \ \ \ \ \ \ \ this-\/>deferred\_factories[\textcolor{stringliteral}{"{}l\_solver"{}}]\ =\ [](\textcolor{keyword}{const}\ \textcolor{keyword}{auto}\&\ exec,}
\DoxyCodeLine{00182\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{auto}\&\ params)\ \{}
\DoxyCodeLine{00183\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!params.l\_solver\_generator.is\_empty())\ \{}
\DoxyCodeLine{00184\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ params.l\_solver\_factory\ =}
\DoxyCodeLine{00185\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ params.l\_solver\_generator.on(exec);}
\DoxyCodeLine{00186\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00187\ \ \ \ \ \ \ \ \ \ \ \ \ \};}
\DoxyCodeLine{00188\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this};}
\DoxyCodeLine{00189\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00190\ }
\DoxyCodeLine{00191\ \ \ \ \ \ \ \ \ GKO\_DEPRECATED(\textcolor{stringliteral}{"{}use\ with\_u\_solver\ instead"{}})}
\DoxyCodeLine{00192\ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type}{parameters\_type}}\&\ with\_u\_solver\_factory(}
\DoxyCodeLine{00193\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1deferred__factory__parameter}{deferred\_factory\_parameter}}<}
\DoxyCodeLine{00194\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ const\ \doxymbox{\hyperlink{namespacegko}{gko}}::detail::factory\_type<u\_solver\_type>>}
\DoxyCodeLine{00195\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_1_1solver}{solver}})}
\DoxyCodeLine{00196\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00197\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type_a542a9a8066d367167925042d3443c4a2}{with\_u\_solver}}(std::move(\doxymbox{\hyperlink{namespacegko_1_1solver}{solver}}));}
\DoxyCodeLine{00198\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00199\ }
\DoxyCodeLine{00205\ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type}{parameters\_type}}\&\ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type_a542a9a8066d367167925042d3443c4a2}{with\_u\_solver}}(}
\DoxyCodeLine{00206\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1deferred__factory__parameter}{deferred\_factory\_parameter}}<}
\DoxyCodeLine{00207\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ gko::detail::factory\_type<u\_solver\_type>>}
\DoxyCodeLine{00208\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_1_1solver}{solver}})}
\DoxyCodeLine{00209\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00210\ \ \ \ \ \ \ \ \ \ \ \ \ this-\/>u\_solver\_generator\ =\ std::move(\doxymbox{\hyperlink{namespacegko_1_1solver}{solver}});}
\DoxyCodeLine{00211\ \ \ \ \ \ \ \ \ \ \ \ \ this-\/>deferred\_factories[\textcolor{stringliteral}{"{}u\_solver"{}}]\ =\ [](\textcolor{keyword}{const}\ \textcolor{keyword}{auto}\&\ exec,}
\DoxyCodeLine{00212\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{auto}\&\ params)\ \{}
\DoxyCodeLine{00213\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!params.u\_solver\_generator.is\_empty())\ \{}
\DoxyCodeLine{00214\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ params.u\_solver\_factory\ =}
\DoxyCodeLine{00215\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ params.u\_solver\_generator.on(exec);}
\DoxyCodeLine{00216\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00217\ \ \ \ \ \ \ \ \ \ \ \ \ \};}
\DoxyCodeLine{00218\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this};}
\DoxyCodeLine{00219\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00220\ }
\DoxyCodeLine{00221\ \ \ \ \ \ \ \ \ GKO\_DEPRECATED(\textcolor{stringliteral}{"{}use\ with\_factorization\ instead"{}})}
\DoxyCodeLine{00222\ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type}{parameters\_type}}\&\ with\_factorization\_factory(}
\DoxyCodeLine{00223\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1deferred__factory__parameter}{deferred\_factory\_parameter}}<const\ \doxymbox{\hyperlink{classgko_1_1LinOpFactory}{LinOpFactory}}>\ \doxymbox{\hyperlink{namespacegko_1_1factorization}{factorization}})}
\DoxyCodeLine{00224\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00225\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ with\_factorization(std::move(\doxymbox{\hyperlink{namespacegko_1_1factorization}{factorization}}));}
\DoxyCodeLine{00226\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00227\ }
\DoxyCodeLine{00228\ \ \ \ \ \ \ \ \ parameters\_type\&\ with\_factorization(}
\DoxyCodeLine{00229\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1deferred__factory__parameter}{deferred\_factory\_parameter<const\ LinOpFactory>}}\ \doxymbox{\hyperlink{namespacegko_1_1factorization}{factorization}})}
\DoxyCodeLine{00230\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00231\ \ \ \ \ \ \ \ \ \ \ \ \ this-\/>factorization\_generator\ =\ std::move(\doxymbox{\hyperlink{namespacegko_1_1factorization}{factorization}});}
\DoxyCodeLine{00232\ \ \ \ \ \ \ \ \ \ \ \ \ this-\/>deferred\_factories[\textcolor{stringliteral}{"{}factorization"{}}]\ =\ [](\textcolor{keyword}{const}\ \textcolor{keyword}{auto}\&\ exec,}
\DoxyCodeLine{00233\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{auto}\&\ params)\ \{}
\DoxyCodeLine{00234\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!params.factorization\_generator.is\_empty())\ \{}
\DoxyCodeLine{00235\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ params.factorization\_factory\ =}
\DoxyCodeLine{00236\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ params.factorization\_generator.on(exec);}
\DoxyCodeLine{00237\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00238\ \ \ \ \ \ \ \ \ \ \ \ \ \};}
\DoxyCodeLine{00239\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this};}
\DoxyCodeLine{00240\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00241\ }
\DoxyCodeLine{00242\ \ \ \ \ \textcolor{keyword}{private}:}
\DoxyCodeLine{00243\ \ \ \ \ \ \ \ \ deferred\_factory\_parameter<}
\DoxyCodeLine{00244\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ gko::detail::factory\_type<l\_solver\_type>>}
\DoxyCodeLine{00245\ \ \ \ \ \ \ \ \ \ \ \ \ l\_solver\_generator;}
\DoxyCodeLine{00246\ }
\DoxyCodeLine{00247\ \ \ \ \ \ \ \ \ deferred\_factory\_parameter<}
\DoxyCodeLine{00248\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ gko::detail::factory\_type<u\_solver\_type>>}
\DoxyCodeLine{00249\ \ \ \ \ \ \ \ \ \ \ \ \ u\_solver\_generator;}
\DoxyCodeLine{00250\ }
\DoxyCodeLine{00251\ \ \ \ \ \ \ \ \ deferred\_factory\_parameter<const\ LinOpFactory>\ factorization\_generator;}
\DoxyCodeLine{00252\ \ \ \ \ \};}
\DoxyCodeLine{00253\ }
\DoxyCodeLine{00254\ \ \ \ \ \doxymbox{\hyperlink{group__LinOp_ga8e0af90ec2414b768266f77cedffc309}{GKO\_ENABLE\_LIN\_OP\_FACTORY}}(\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}},\ parameters,\ Factory);}
\DoxyCodeLine{00255\ \ \ \ \ \doxymbox{\hyperlink{group__LinOp_ga521f65604cc4cf427dcb2ecfa49b757c}{GKO\_ENABLE\_BUILD\_METHOD}}(Factory);}
\DoxyCodeLine{00256\ }
\DoxyCodeLine{00274\ \ \ \ \ \textcolor{keyword}{static}\ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type}{parameters\_type}}\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a05a6a4b4cfd03eed108c9f107932fedc}{parse}}(}
\DoxyCodeLine{00275\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \doxymbox{\hyperlink{classgko_1_1config_1_1pnode}{config::pnode}}\&\ config,\ \textcolor{keyword}{const}\ \doxymbox{\hyperlink{classgko_1_1config_1_1registry}{config::registry}}\&\ context,}
\DoxyCodeLine{00276\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \doxymbox{\hyperlink{classgko_1_1config_1_1type__descriptor}{config::type\_descriptor}}\&\ td\_for\_child\ =}
\DoxyCodeLine{00277\ \ \ \ \ \ \ \ \ \ \ \ \ config::make\_type\_descriptor<value\_type,\ index\_type>())}
\DoxyCodeLine{00278\ \ \ \ \ \{}
\DoxyCodeLine{00279\ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ parse\ is\ not\ templated,\ so\ we\ can\ only\ use\ SFINAE\ later}}
\DoxyCodeLine{00280\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ detail::ilu\_parse<Ilu>(config,\ context,\ td\_for\_child);}
\DoxyCodeLine{00281\ \ \ \ \ \}}
\DoxyCodeLine{00282\ }
\DoxyCodeLine{00288\ \ \ \ \ std::shared\_ptr<const\ l\_solver\_type>\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a99c928667fc60956b565f3c52a8c9ff3}{get\_l\_solver}}()\textcolor{keyword}{\ const}}
\DoxyCodeLine{00289\ \textcolor{keyword}{\ \ \ \ }\{}
\DoxyCodeLine{00290\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ l\_solver\_;}
\DoxyCodeLine{00291\ \ \ \ \ \}}
\DoxyCodeLine{00292\ }
\DoxyCodeLine{00298\ \ \ \ \ std::shared\_ptr<const\ u\_solver\_type>\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a2426ff668bea6ab2bd5de66a606b0058}{get\_u\_solver}}()\textcolor{keyword}{\ const}}
\DoxyCodeLine{00299\ \textcolor{keyword}{\ \ \ \ }\{}
\DoxyCodeLine{00300\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ u\_solver\_;}
\DoxyCodeLine{00301\ \ \ \ \ \}}
\DoxyCodeLine{00302\ }
\DoxyCodeLine{00303\ \ \ \ \ std::unique\_ptr<LinOp>\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a617173d48bdd4489c68273e2b9e00e15}{transpose}}()\textcolor{keyword}{\ const\ override}}
\DoxyCodeLine{00304\ \textcolor{keyword}{\ \ \ \ }\{}
\DoxyCodeLine{00305\ \ \ \ \ \ \ \ \ std::unique\_ptr<transposed\_type>\ transposed\{}
\DoxyCodeLine{00306\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{new}\ transposed\_type\{this-\/>get\_executor()\}\};}
\DoxyCodeLine{00307\ \ \ \ \ \ \ \ \ transposed-\/>set\_size(\doxymbox{\hyperlink{namespacegko_aacad7f87b38d3f26674ed034d442a1a0}{gko::transpose}}(this-\/>get\_size()));}
\DoxyCodeLine{00308\ \ \ \ \ \ \ \ \ transposed-\/>l\_solver\_\ =}
\DoxyCodeLine{00309\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_ae99fdd8bfa5ac694adcb7297d432967e}{share}}(\doxymbox{\hyperlink{namespacegko_ae3e355a655feea026a7c46814d37a9c9}{as}}<gko::detail::transposed\_type<u\_solver\_type>>(}
\DoxyCodeLine{00310\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_ae3e355a655feea026a7c46814d37a9c9}{as<Transposable>}}(this-\/>\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a2426ff668bea6ab2bd5de66a606b0058}{get\_u\_solver}}())-\/>\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a617173d48bdd4489c68273e2b9e00e15}{transpose}}()));}
\DoxyCodeLine{00311\ \ \ \ \ \ \ \ \ transposed-\/>u\_solver\_\ =}
\DoxyCodeLine{00312\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_ae99fdd8bfa5ac694adcb7297d432967e}{share}}(\doxymbox{\hyperlink{namespacegko_ae3e355a655feea026a7c46814d37a9c9}{as}}<gko::detail::transposed\_type<l\_solver\_type>>(}
\DoxyCodeLine{00313\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_ae3e355a655feea026a7c46814d37a9c9}{as<Transposable>}}(this-\/>\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a99c928667fc60956b565f3c52a8c9ff3}{get\_l\_solver}}())-\/>\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a617173d48bdd4489c68273e2b9e00e15}{transpose}}()));}
\DoxyCodeLine{00314\ }
\DoxyCodeLine{00315\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ std::move(transposed);}
\DoxyCodeLine{00316\ \ \ \ \ \}}
\DoxyCodeLine{00317\ }
\DoxyCodeLine{00318\ \ \ \ \ std::unique\_ptr<LinOp>\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_aa3123328a37f3680a5a07edb4f40b23a}{conj\_transpose}}()\textcolor{keyword}{\ const\ override}}
\DoxyCodeLine{00319\ \textcolor{keyword}{\ \ \ \ }\{}
\DoxyCodeLine{00320\ \ \ \ \ \ \ \ \ std::unique\_ptr<transposed\_type>\ transposed\{}
\DoxyCodeLine{00321\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{new}\ transposed\_type\{this-\/>get\_executor()\}\};}
\DoxyCodeLine{00322\ \ \ \ \ \ \ \ \ transposed-\/>set\_size(\doxymbox{\hyperlink{namespacegko_aacad7f87b38d3f26674ed034d442a1a0}{gko::transpose}}(this-\/>get\_size()));}
\DoxyCodeLine{00323\ \ \ \ \ \ \ \ \ transposed-\/>l\_solver\_\ =}
\DoxyCodeLine{00324\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_ae99fdd8bfa5ac694adcb7297d432967e}{share}}(\doxymbox{\hyperlink{namespacegko_ae3e355a655feea026a7c46814d37a9c9}{as}}<gko::detail::transposed\_type<u\_solver\_type>>(}
\DoxyCodeLine{00325\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_ae3e355a655feea026a7c46814d37a9c9}{as<Transposable>}}(this-\/>\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a2426ff668bea6ab2bd5de66a606b0058}{get\_u\_solver}}())-\/>\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_aa3123328a37f3680a5a07edb4f40b23a}{conj\_transpose}}()));}
\DoxyCodeLine{00326\ \ \ \ \ \ \ \ \ transposed-\/>u\_solver\_\ =}
\DoxyCodeLine{00327\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_ae99fdd8bfa5ac694adcb7297d432967e}{share}}(\doxymbox{\hyperlink{namespacegko_ae3e355a655feea026a7c46814d37a9c9}{as}}<gko::detail::transposed\_type<l\_solver\_type>>(}
\DoxyCodeLine{00328\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_ae3e355a655feea026a7c46814d37a9c9}{as<Transposable>}}(this-\/>\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a99c928667fc60956b565f3c52a8c9ff3}{get\_l\_solver}}())-\/>\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_aa3123328a37f3680a5a07edb4f40b23a}{conj\_transpose}}()));}
\DoxyCodeLine{00329\ }
\DoxyCodeLine{00330\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ std::move(transposed);}
\DoxyCodeLine{00331\ \ \ \ \ \}}
\DoxyCodeLine{00332\ }
\DoxyCodeLine{00338\ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}\&\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_aed03c680a2a5715409de7ff9d75b127a}{operator=}}(\textcolor{keyword}{const}\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}\&\ other)}
\DoxyCodeLine{00339\ \ \ \ \ \{}
\DoxyCodeLine{00340\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (\&other\ !=\ \textcolor{keyword}{this})\ \{}
\DoxyCodeLine{00341\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1EnableLinOp}{EnableLinOp<Ilu>::operator=}}(other);}
\DoxyCodeLine{00342\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{auto}\ exec\ =\ this-\/>get\_executor();}
\DoxyCodeLine{00343\ \ \ \ \ \ \ \ \ \ \ \ \ l\_solver\_\ =\ other.l\_solver\_;}
\DoxyCodeLine{00344\ \ \ \ \ \ \ \ \ \ \ \ \ u\_solver\_\ =\ other.u\_solver\_;}
\DoxyCodeLine{00345\ \ \ \ \ \ \ \ \ \ \ \ \ parameters\_\ =\ other.parameters\_;}
\DoxyCodeLine{00346\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (other.get\_executor()\ !=\ exec)\ \{}
\DoxyCodeLine{00347\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ l\_solver\_\ =\ \doxymbox{\hyperlink{namespacegko_aa194e34282452493231ca7b01ffb5e64}{gko::clone}}(exec,\ l\_solver\_);}
\DoxyCodeLine{00348\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ u\_solver\_\ =\ \doxymbox{\hyperlink{namespacegko_aa194e34282452493231ca7b01ffb5e64}{gko::clone}}(exec,\ u\_solver\_);}
\DoxyCodeLine{00349\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00350\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00351\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this};}
\DoxyCodeLine{00352\ \ \ \ \ \}}
\DoxyCodeLine{00353\ }
\DoxyCodeLine{00360\ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}\&\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_ace08d776bf5ba2f0f89f37f3bb2035e5}{operator=}}(\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}\&\&\ other)}
\DoxyCodeLine{00361\ \ \ \ \ \{}
\DoxyCodeLine{00362\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (\&other\ !=\ \textcolor{keyword}{this})\ \{}
\DoxyCodeLine{00363\ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1EnableLinOp}{EnableLinOp<Ilu>::operator=}}(other);}
\DoxyCodeLine{00364\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{auto}\ exec\ =\ this-\/>get\_executor();}
\DoxyCodeLine{00365\ \ \ \ \ \ \ \ \ \ \ \ \ l\_solver\_\ =\ std::move(other.l\_solver\_);}
\DoxyCodeLine{00366\ \ \ \ \ \ \ \ \ \ \ \ \ u\_solver\_\ =\ std::move(other.u\_solver\_);}
\DoxyCodeLine{00367\ \ \ \ \ \ \ \ \ \ \ \ \ parameters\_\ =\ std::exchange(other.parameters\_,\ \doxymbox{\hyperlink{structgko_1_1preconditioner_1_1Ilu_1_1parameters__type}{parameters\_type}}\{\});}
\DoxyCodeLine{00368\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (other.get\_executor()\ !=\ exec)\ \{}
\DoxyCodeLine{00369\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ l\_solver\_\ =\ \doxymbox{\hyperlink{namespacegko_aa194e34282452493231ca7b01ffb5e64}{gko::clone}}(exec,\ l\_solver\_);}
\DoxyCodeLine{00370\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ u\_solver\_\ =\ \doxymbox{\hyperlink{namespacegko_aa194e34282452493231ca7b01ffb5e64}{gko::clone}}(exec,\ u\_solver\_);}
\DoxyCodeLine{00371\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00372\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00373\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this};}
\DoxyCodeLine{00374\ \ \ \ \ \}}
\DoxyCodeLine{00375\ }
\DoxyCodeLine{00380\ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}(\textcolor{keyword}{const}\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}\&\ other)\ :\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}\{other.get\_executor()\}\ \{\ *\textcolor{keyword}{this}\ =\ other;\ \}}
\DoxyCodeLine{00381\ }
\DoxyCodeLine{00387\ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a1b11a5e85bb6fcb969d4e745e0db4a1e}{Ilu}}(\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}\&\&\ other)\ :\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}\{other.get\_executor()\}\ \{\ *\textcolor{keyword}{this}\ =\ std::move(other);\ \}}
\DoxyCodeLine{00388\ }
\DoxyCodeLine{00389\ \textcolor{keyword}{protected}:}
\DoxyCodeLine{00390\ \ \ \ \ \textcolor{keywordtype}{void}\ apply\_impl(\textcolor{keyword}{const}\ \doxymbox{\hyperlink{classgko_1_1LinOp}{LinOp}}*\ b,\ \doxymbox{\hyperlink{classgko_1_1LinOp}{LinOp}}*\ x)\textcolor{keyword}{\ const\ override}}
\DoxyCodeLine{00391\ \textcolor{keyword}{\ \ \ \ }\{}
\DoxyCodeLine{00392\ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ take\ care\ of\ real-\/to-\/complex\ apply}}
\DoxyCodeLine{00393\ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_a98c5a37c89e32c0f2b567f8e73870e3a}{precision\_dispatch\_real\_complex<value\_type>}}(}
\DoxyCodeLine{00394\ \ \ \ \ \ \ \ \ \ \ \ \ [\&](\textcolor{keyword}{auto}\ dense\_b,\ \textcolor{keyword}{auto}\ dense\_x)\ \{}
\DoxyCodeLine{00395\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ this-\/>set\_cache\_to(dense\_b);}
\DoxyCodeLine{00396\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!ReverseApply)\ \{}
\DoxyCodeLine{00397\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ l\_solver\_-\/>apply(dense\_b,\ cache\_.intermediate);}
\DoxyCodeLine{00398\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (u\_solver\_-\/>apply\_uses\_initial\_guess())\ \{}
\DoxyCodeLine{00399\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ dense\_x-\/>copy\_from(cache\_.intermediate);}
\DoxyCodeLine{00400\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00401\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ u\_solver\_-\/>apply(cache\_.intermediate,\ dense\_x);}
\DoxyCodeLine{00402\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}\ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00403\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ u\_solver\_-\/>apply(dense\_b,\ cache\_.intermediate);}
\DoxyCodeLine{00404\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (l\_solver\_-\/>apply\_uses\_initial\_guess())\ \{}
\DoxyCodeLine{00405\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ dense\_x-\/>copy\_from(cache\_.intermediate);}
\DoxyCodeLine{00406\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00407\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ l\_solver\_-\/>apply(cache\_.intermediate,\ dense\_x);}
\DoxyCodeLine{00408\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00409\ \ \ \ \ \ \ \ \ \ \ \ \ \},}
\DoxyCodeLine{00410\ \ \ \ \ \ \ \ \ \ \ \ \ b,\ x);}
\DoxyCodeLine{00411\ \ \ \ \ \}}
\DoxyCodeLine{00412\ }
\DoxyCodeLine{00413\ \ \ \ \ \textcolor{keywordtype}{void}\ apply\_impl(\textcolor{keyword}{const}\ LinOp*\ alpha,\ \textcolor{keyword}{const}\ LinOp*\ b,\ \textcolor{keyword}{const}\ LinOp*\ beta,}
\DoxyCodeLine{00414\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ LinOp*\ x)\textcolor{keyword}{\ const\ override}}
\DoxyCodeLine{00415\ \textcolor{keyword}{\ \ \ \ }\{}
\DoxyCodeLine{00416\ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{namespacegko_a98c5a37c89e32c0f2b567f8e73870e3a}{precision\_dispatch\_real\_complex<value\_type>}}(}
\DoxyCodeLine{00417\ \ \ \ \ \ \ \ \ \ \ \ \ [\&](\textcolor{keyword}{auto}\ dense\_alpha,\ \textcolor{keyword}{auto}\ dense\_b,\ \textcolor{keyword}{auto}\ dense\_beta,\ \textcolor{keyword}{auto}\ dense\_x)\ \{}
\DoxyCodeLine{00418\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ this-\/>set\_cache\_to(dense\_b);}
\DoxyCodeLine{00419\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!ReverseApply)\ \{}
\DoxyCodeLine{00420\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ l\_solver\_-\/>apply(dense\_b,\ cache\_.intermediate);}
\DoxyCodeLine{00421\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ u\_solver\_-\/>apply(dense\_alpha,\ cache\_.intermediate,}
\DoxyCodeLine{00422\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ dense\_beta,\ dense\_x);}
\DoxyCodeLine{00423\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}\ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00424\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ u\_solver\_-\/>apply(dense\_b,\ cache\_.intermediate);}
\DoxyCodeLine{00425\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ l\_solver\_-\/>apply(dense\_alpha,\ cache\_.intermediate,}
\DoxyCodeLine{00426\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ dense\_beta,\ dense\_x);}
\DoxyCodeLine{00427\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00428\ \ \ \ \ \ \ \ \ \ \ \ \ \},}
\DoxyCodeLine{00429\ \ \ \ \ \ \ \ \ \ \ \ \ alpha,\ b,\ beta,\ x);}
\DoxyCodeLine{00430\ \ \ \ \ \}}
\DoxyCodeLine{00431\ }
\DoxyCodeLine{00432\ \ \ \ \ \textcolor{keyword}{explicit}\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}(std::shared\_ptr<const\ Executor>\ exec)}
\DoxyCodeLine{00433\ \ \ \ \ \ \ \ \ :\ EnableLinOp<\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}>(std::move(exec))}
\DoxyCodeLine{00434\ \ \ \ \ \{\}}
\DoxyCodeLine{00435\ }
\DoxyCodeLine{00436\ \ \ \ \ \textcolor{keyword}{explicit}\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}(\textcolor{keyword}{const}\ \doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_1_1Factory}{Factory}}*\ factory,\ std::shared\_ptr<const\ LinOp>\ lin\_op)}
\DoxyCodeLine{00437\ \ \ \ \ \ \ \ \ :\ EnableLinOp<\doxymbox{\hyperlink{classgko_1_1preconditioner_1_1Ilu_a071ffbb4acb7f654c4476374a728b0a3}{Ilu}}>(\doxymbox{\hyperlink{namespacegko_1_1log_a15f71654c6c4f4defc95f9359343fa27a9549dd6065d019211460c59a86dd6536}{factory}}-\/>get\_executor(),\ lin\_op-\/>get\_size()),}
\DoxyCodeLine{00438\ \ \ \ \ \ \ \ \ \ \ parameters\_\{\doxymbox{\hyperlink{namespacegko_1_1log_a15f71654c6c4f4defc95f9359343fa27a9549dd6065d019211460c59a86dd6536}{factory}}-\/>get\_parameters()\}}
\DoxyCodeLine{00439\ \ \ \ \ \{}
\DoxyCodeLine{00440\ \ \ \ \ \ \ \ \ \textcolor{keyword}{auto}\ comp\ =}
\DoxyCodeLine{00441\ \ \ \ \ \ \ \ \ \ \ \ \ std::dynamic\_pointer\_cast<const\ Composition<value\_type>>(lin\_op);}
\DoxyCodeLine{00442\ \ \ \ \ \ \ \ \ std::shared\_ptr<const\ LinOp>\ l\_factor;}
\DoxyCodeLine{00443\ \ \ \ \ \ \ \ \ std::shared\_ptr<const\ LinOp>\ u\_factor;}
\DoxyCodeLine{00444\ }
\DoxyCodeLine{00445\ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ build\ factorization\ if\ we\ weren't\ passed\ a\ composition}}
\DoxyCodeLine{00446\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!comp)\ \{}
\DoxyCodeLine{00447\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{auto}\ exec\ =\ lin\_op-\/>get\_executor();}
\DoxyCodeLine{00448\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!parameters\_.factorization\_factory)\ \{}
\DoxyCodeLine{00449\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ parameters\_.factorization\_factory\ =}
\DoxyCodeLine{00450\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ factorization::ParIlu<value\_type,\ index\_type>::build().on(}
\DoxyCodeLine{00451\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ exec);}
\DoxyCodeLine{00452\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00453\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{auto}\ fact\ =\ std::shared\_ptr<const\ LinOp>(}
\DoxyCodeLine{00454\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ parameters\_.factorization\_factory-\/>generate(lin\_op));}
\DoxyCodeLine{00455\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ ensure\ that\ the\ result\ is\ a\ composition}}
\DoxyCodeLine{00456\ \ \ \ \ \ \ \ \ \ \ \ \ comp\ =\ \doxymbox{\hyperlink{namespacegko_ae3e355a655feea026a7c46814d37a9c9}{as<const\ Composition<value\_type>}}>(fact);}
\DoxyCodeLine{00457\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00458\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (comp-\/>get\_operators().size()\ ==\ 2)\ \{}
\DoxyCodeLine{00459\ \ \ \ \ \ \ \ \ \ \ \ \ l\_factor\ =\ comp-\/>get\_operators()[0];}
\DoxyCodeLine{00460\ \ \ \ \ \ \ \ \ \ \ \ \ u\_factor\ =\ comp-\/>get\_operators()[1];}
\DoxyCodeLine{00461\ \ \ \ \ \ \ \ \ \}\ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00462\ \ \ \ \ \ \ \ \ \ \ \ \ GKO\_NOT\_SUPPORTED(comp);}
\DoxyCodeLine{00463\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00464\ \ \ \ \ \ \ \ \ GKO\_ASSERT\_EQUAL\_DIMENSIONS(l\_factor,\ u\_factor);}
\DoxyCodeLine{00465\ }
\DoxyCodeLine{00466\ \ \ \ \ \ \ \ \ \textcolor{keyword}{auto}\ exec\ =\ this-\/>get\_executor();}
\DoxyCodeLine{00467\ }
\DoxyCodeLine{00468\ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ If\ no\ factories\ are\ provided,\ generate\ default\ ones}}
\DoxyCodeLine{00469\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!parameters\_.l\_solver\_factory)\ \{}
\DoxyCodeLine{00470\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ when\ l\_solver\_type\ is\ LinOp,\ use\ LowerTrs\ as\ the\ default\ one}}
\DoxyCodeLine{00471\ \ \ \ \ \ \ \ \ \ \ \ \ l\_solver\_\ =\ generate\_default\_solver<std::conditional\_t<}
\DoxyCodeLine{00472\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ std::is\_same\_v<l\_solver\_type,\ LinOp>,}
\DoxyCodeLine{00473\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ solver::LowerTrs<value\_type,\ index\_type>,\ l\_solver\_type>>(}
\DoxyCodeLine{00474\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ exec,\ l\_factor);}
\DoxyCodeLine{00475\ \ \ \ \ \ \ \ \ \}\ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00476\ \ \ \ \ \ \ \ \ \ \ \ \ l\_solver\_\ =\ parameters\_.l\_solver\_factory-\/>generate(l\_factor);}
\DoxyCodeLine{00477\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00478\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!parameters\_.u\_solver\_factory)\ \{}
\DoxyCodeLine{00479\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ when\ u\_solver\_type\ is\ LinOp,\ use\ UpperTrs\ as\ the\ default\ one}}
\DoxyCodeLine{00480\ \ \ \ \ \ \ \ \ \ \ \ \ u\_solver\_\ =\ generate\_default\_solver<std::conditional\_t<}
\DoxyCodeLine{00481\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ std::is\_same\_v<u\_solver\_type,\ LinOp>,}
\DoxyCodeLine{00482\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ solver::UpperTrs<value\_type,\ index\_type>,\ u\_solver\_type>>(}
\DoxyCodeLine{00483\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ exec,\ u\_factor);}
\DoxyCodeLine{00484\ \ \ \ \ \ \ \ \ \}\ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00485\ \ \ \ \ \ \ \ \ \ \ \ \ u\_solver\_\ =\ parameters\_.u\_solver\_factory-\/>generate(u\_factor);}
\DoxyCodeLine{00486\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00487\ \ \ \ \ \}}
\DoxyCodeLine{00488\ }
\DoxyCodeLine{00496\ \ \ \ \ \textcolor{keywordtype}{void}\ set\_cache\_to(\textcolor{keyword}{const}\ LinOp*\ b)\textcolor{keyword}{\ const}}
\DoxyCodeLine{00497\ \textcolor{keyword}{\ \ \ \ }\{}
\DoxyCodeLine{00498\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (cache\_.intermediate\ ==\ \textcolor{keyword}{nullptr})\ \{}
\DoxyCodeLine{00499\ \ \ \ \ \ \ \ \ \ \ \ \ cache\_.intermediate\ =}
\DoxyCodeLine{00500\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Dense_ae198b3130d8966418047baa8dabe466c}{matrix::Dense<value\_type>::create}}(this-\/>get\_executor());}
\DoxyCodeLine{00501\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00502\ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ Use\ b\ as\ the\ initial\ guess\ for\ the\ first\ triangular\ solve}}
\DoxyCodeLine{00503\ \ \ \ \ \ \ \ \ cache\_.intermediate-\/>copy\_from(b);}
\DoxyCodeLine{00504\ \ \ \ \ \}}
\DoxyCodeLine{00505\ }
\DoxyCodeLine{00506\ }
\DoxyCodeLine{00514\ \ \ \ \ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ SolverType>}
\DoxyCodeLine{00515\ \ \ \ \ \textcolor{keyword}{static}\ std::enable\_if\_t<solver::has\_with\_criteria<SolverType>::value,}
\DoxyCodeLine{00516\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ std::unique\_ptr<SolverType>>}
\DoxyCodeLine{00517\ \ \ \ \ generate\_default\_solver(\textcolor{keyword}{const}\ std::shared\_ptr<const\ Executor>\&\ exec,}
\DoxyCodeLine{00518\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ std::shared\_ptr<const\ LinOp>\&\ mtx)}
\DoxyCodeLine{00519\ \ \ \ \ \{}
\DoxyCodeLine{00520\ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ half\ can\ not\ use\ constexpr\ constructor}}
\DoxyCodeLine{00521\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \doxymbox{\hyperlink{namespacegko_a107302a750bfa82a2107c77293f791c9}{gko::remove\_complex<value\_type>}}\ default\_reduce\_residual\{1e-\/4\};}
\DoxyCodeLine{00522\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ default\_max\_iters\{}
\DoxyCodeLine{00523\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\textcolor{keyword}{>}(mtx-\/>get\_size()[0])\};}
\DoxyCodeLine{00524\ }
\DoxyCodeLine{00525\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ SolverType::build()}
\DoxyCodeLine{00526\ \ \ \ \ \ \ \ \ \ \ \ \ .with\_criteria(}
\DoxyCodeLine{00527\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gko::stop::Iteration::build().with\_max\_iters(default\_max\_iters),}
\DoxyCodeLine{00528\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gko::stop::ResidualNorm<value\_type>::build()}
\DoxyCodeLine{00529\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ .with\_reduction\_factor(default\_reduce\_residual))}
\DoxyCodeLine{00530\ \ \ \ \ \ \ \ \ \ \ \ \ .on(exec)}
\DoxyCodeLine{00531\ \ \ \ \ \ \ \ \ \ \ \ \ -\/>generate(mtx);}
\DoxyCodeLine{00532\ \ \ \ \ \}}
\DoxyCodeLine{00533\ }
\DoxyCodeLine{00537\ \ \ \ \ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ SolverType>}
\DoxyCodeLine{00538\ \ \ \ \ \textcolor{keyword}{static}\ std::enable\_if\_t<!solver::has\_with\_criteria<SolverType>::value,}
\DoxyCodeLine{00539\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ std::unique\_ptr<SolverType>>}
\DoxyCodeLine{00540\ \ \ \ \ generate\_default\_solver(\textcolor{keyword}{const}\ std::shared\_ptr<const\ Executor>\&\ exec,}
\DoxyCodeLine{00541\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ std::shared\_ptr<const\ LinOp>\&\ mtx)}
\DoxyCodeLine{00542\ \ \ \ \ \{}
\DoxyCodeLine{00543\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ SolverType::build().on(exec)-\/>generate(mtx);}
\DoxyCodeLine{00544\ \ \ \ \ \}}
\DoxyCodeLine{00545\ }
\DoxyCodeLine{00546\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00547\ \ \ \ \ std::shared\_ptr<const\ l\_solver\_type>\ l\_solver\_\{\};}
\DoxyCodeLine{00548\ \ \ \ \ std::shared\_ptr<const\ u\_solver\_type>\ u\_solver\_\{\};}
\DoxyCodeLine{00559\ \ \ \ \ \textcolor{keyword}{mutable}\ \textcolor{keyword}{struct\ }cache\_struct\ \{}
\DoxyCodeLine{00560\ \ \ \ \ \ \ \ \ cache\_struct()\ =\ \textcolor{keywordflow}{default};}
\DoxyCodeLine{00561\ \ \ \ \ \ \ \ \ \string~cache\_struct()\ =\ \textcolor{keywordflow}{default};}
\DoxyCodeLine{00562\ \ \ \ \ \ \ \ \ cache\_struct(\textcolor{keyword}{const}\ cache\_struct\&)\ \{\}}
\DoxyCodeLine{00563\ \ \ \ \ \ \ \ \ cache\_struct(cache\_struct\&\&)\ \{\}}
\DoxyCodeLine{00564\ \ \ \ \ \ \ \ \ cache\_struct\&\ operator=(\textcolor{keyword}{const}\ cache\_struct\&)\ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this};\ \}}
\DoxyCodeLine{00565\ \ \ \ \ \ \ \ \ cache\_struct\&\ operator=(cache\_struct\&\&)\ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this};\ \}}
\DoxyCodeLine{00566\ \ \ \ \ \ \ \ \ std::unique\_ptr<LinOp>\ intermediate\{\};}
\DoxyCodeLine{00567\ \ \ \ \ \}\ cache\_;}
\DoxyCodeLine{00568\ \};}
\DoxyCodeLine{00569\ }
\DoxyCodeLine{00570\ }
\DoxyCodeLine{00571\ \}\ \ \textcolor{comment}{//\ namespace\ preconditioner}}
\DoxyCodeLine{00572\ \}\ \ \textcolor{comment}{//\ namespace\ gko}}
\DoxyCodeLine{00573\ }
\DoxyCodeLine{00574\ }
\DoxyCodeLine{00575\ \textcolor{preprocessor}{\#endif\ \ }\textcolor{comment}{//\ GKO\_PUBLIC\_CORE\_PRECONDITIONER\_ILU\_HPP\_}}

\end{DoxyCode}
