mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1498 from blattms/disable-cpr-eclipse-keyword
Deactivate selection of CPR via eclipse keyword
This commit is contained in:
commit
904665a10e
@ -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_);
|
||||
|
Loading…
Reference in New Issue
Block a user