diff --git a/opm/autodiff/ISTLSolver.hpp b/opm/autodiff/ISTLSolver.hpp index 62f6746f8..e2d3f2998 100644 --- a/opm/autodiff/ISTLSolver.hpp +++ b/opm/autodiff/ISTLSolver.hpp @@ -234,13 +234,6 @@ namespace Opm } #endif - template - void - constructAMGPrecond(LinearOperator& /* linearOperator */, const POrComm& comm, std::unique_ptr< AMG >& amg, std::unique_ptr< MatrixOperator >& opA, const double relax, const MILU_VARIANT milu) const - { - ISTLUtility::template createAMGPreconditionerPointer( *opA, relax, milu, comm, amg ); - } - template void @@ -251,15 +244,6 @@ namespace Opm milu, comm, amg ); } - template - void - constructAMGPrecond(LinearOperator& /* linearOperator */, const POrComm& comm, std::unique_ptr< AMG >& amg, std::unique_ptr< MatrixOperator >& opA, const double relax, - const MILU_VARIANT milu ) const - { - ISTLUtility::template createAMGPreconditionerPointer( *opA, relax, - comm, amg, parameters_ ); - } - /// \brief Solve the system using the given preconditioner and scalar product. template void solve(Operator& opA, Vector& x, Vector& istlb, ScalarProd& sp, Precond& precond, Dune::InverseOperatorResult& result) const diff --git a/opm/autodiff/ISTLSolverEbos.hpp b/opm/autodiff/ISTLSolverEbos.hpp index a4ca582a5..561e0914a 100644 --- a/opm/autodiff/ISTLSolverEbos.hpp +++ b/opm/autodiff/ISTLSolverEbos.hpp @@ -546,15 +546,6 @@ namespace Detail } - template - void - constructAMGPrecond(MatrixOperator& opA, const POrComm& comm, std::unique_ptr< AMG >& amg, std::unique_ptr< MatrixOperator >&, const double relax, - const MILU_VARIANT milu) const - { - ISTLUtility::template createAMGPreconditionerPointer( opA, relax, - milu, comm, amg ); - } - template void constructAMGPrecond(LinearOperator& /* linearOperator */, const POrComm& comm, std::unique_ptr< AMG >& amg, std::unique_ptr< MatrixOperator >& opA, const double relax, @@ -565,13 +556,6 @@ namespace Detail } - template - void - constructAMGPrecond(MatrixOperator& opA, const POrComm& comm, std::unique_ptr< AMG >& amg, std::unique_ptr< MatrixOperator >&, const double relax, const MILU_VARIANT milu ) const - { - ISTLUtility::template createAMGPreconditionerPointer( opA, relax, milu, - comm, amg, parameters_ ); - } /// \brief Solve the system using the given preconditioner and scalar product. template void solve(Operator& opA, Vector& x, Vector& istlb, ScalarProd& sp, Precond& precond, Dune::InverseOperatorResult& result) const