Make polymer solver use direct solver only.

The interleaved solver should work for this case, but does not currently.
This commit is contained in:
Atgeirr Flø Rasmussen 2015-12-21 15:05:32 +01:00
parent 8507427d83
commit 6839b811f2

View File

@ -87,6 +87,19 @@ namespace Opm
// Setup linear solver.
// Writes to:
// fis_solver_
void setupLinearSolver()
{
OPM_MESSAGE("Caution: polymer solver currently only works with direct linear solver.");
Base::fis_solver_.reset(new NewtonIterationBlackoilSimple(Base::param_, Base::parallel_information_));
}
// Create simulator instance.
// Writes to:
// simulator_