mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix build on some Linux distributions
i.e., mine (openSuse Tumbleweed). the problem seems to be that the specialization of `ISTLSolver::constructAMGPrecond()` is ambiguous and some compilers seem to be more strict about this than others. Simply removing the problematic method seems to work fine. That said, for non-legacy `flow` this codepath is not taken at runtime anyway because the `ISTLSolverEbos` class is used!?
This commit is contained in:
@@ -266,14 +266,6 @@ namespace Opm
|
||||
comm, amg, parameters_ );
|
||||
}
|
||||
|
||||
|
||||
template <class C, class MatrixOperator, class POrComm, class AMG >
|
||||
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<C>( opA, relax, milu,
|
||||
comm, amg, parameters_ );
|
||||
}
|
||||
/// \brief Solve the system using the given preconditioner and scalar product.
|
||||
template <class Operator, class ScalarProd, class Precond>
|
||||
void solve(Operator& opA, Vector& x, Vector& istlb, ScalarProd& sp, Precond& precond, Dune::InverseOperatorResult& result) const
|
||||
|
||||
Reference in New Issue
Block a user