diff --git a/opm/simulators/linalg/PreconditionerFactory_impl.hpp b/opm/simulators/linalg/PreconditionerFactory_impl.hpp index e147d104e..fe6b31d5b 100644 --- a/opm/simulators/linalg/PreconditionerFactory_impl.hpp +++ b/opm/simulators/linalg/PreconditionerFactory_impl.hpp @@ -236,6 +236,15 @@ struct StandardPreconditioners PrecPtr prec = std::make_shared>(op, crit, sargs, comm); return prec; } + else if (smoother == "Jac") { + using SeqSmoother = SeqJac; + using Smoother = Dune::BlockPreconditioner; + using SmootherArgs = typename Dune::Amg::SmootherTraits::Arguments; + SmootherArgs sargs; + auto crit = AMGHelper::criterion(prm); + PrecPtr prec = std::make_shared>(op, crit, sargs, comm); + return prec; + } else if (smoother == "GS") { using SeqSmoother = SeqGS; using Smoother = Dune::BlockPreconditioner;