From 1bd735428fce5df8c6d78449d7f1ecbf32892740 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 15 Jun 2018 15:34:01 +0200 Subject: [PATCH] Deactivate selection of CPR via eclipse keyword as this preconditioner is still considered experimental and fails miserably for some models. Users can select CPR using the command line. --- opm/autodiff/FlowMainEbos.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/opm/autodiff/FlowMainEbos.hpp b/opm/autodiff/FlowMainEbos.hpp index 78fd8c56f..71f3e26b5 100755 --- a/opm/autodiff/FlowMainEbos.hpp +++ b/opm/autodiff/FlowMainEbos.hpp @@ -535,7 +535,21 @@ namespace Opm { if ( eclState().getSimulationConfig().useCPR() ) { + /* Deactivate selection of CPR via eclipse keyword + as this preconditioner is still considered experimental + and fails miserably for some models. param_.insertParameter("solver_approach", cprSolver); + */ + if ( output_cout_ ) + { + std::ostringstream message; + message << "Ignoring request for CPRPreconditioner " + << "via Eclipse keyword as it is considered " + <<" experimental. To activate use " + <<"\"solver_approach=cprSolver\" command " + <<"line parameter."; + OpmLog::info(message.str()); + } } } extractParallelGridInformationToISTL(grid(), parallel_information_);