mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
fix the build on the latest dune master
Dune::set_singularity_limit() was removed and the ILU preconditioners seem to have been refactored. The ILU refactoring included making the order of the preconditioner a template parameter of the preconditioner class, i.e., it can no longer be specified at runtime. Note that the AMG code in the dune master currently produces quite a few warnings because of the latter point, but as far as I can see, there is nothing which can be done about this from outside of dune-istl.
This commit is contained in:
parent
ea0c6eeec1
commit
81bc44ec6d
@ -131,8 +131,13 @@ SET_STRING_PROP(WaterAirBaseProblem, GridFile, "./data/waterair.dgf");
|
||||
SET_TAG_PROP(WaterAirBaseProblem, LinearSolverSplice, ParallelIstlLinearSolver);
|
||||
SET_TYPE_PROP(WaterAirBaseProblem, LinearSolverWrapper,
|
||||
Ewoms::Linear::SolverWrapperRestartedGMRes<TypeTag>);
|
||||
#if DUNE_VERSION_NEWER(DUNE_ISTL, 2,7)
|
||||
SET_TYPE_PROP(WaterAirBaseProblem, PreconditionerWrapper,
|
||||
Ewoms::Linear::PreconditionerWrapperILU<TypeTag>);
|
||||
#else
|
||||
SET_TYPE_PROP(WaterAirBaseProblem, PreconditionerWrapper,
|
||||
Ewoms::Linear::PreconditionerWrapperILUn<TypeTag>);
|
||||
#endif
|
||||
SET_INT_PROP(WaterAirBaseProblem, PreconditionerOrder, 2);
|
||||
} // namespace Properties
|
||||
} // namespace Ewoms
|
||||
|
Loading…
Reference in New Issue
Block a user