mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make polymer solver use direct solver only.
The interleaved solver should work for this case, but does not currently.
This commit is contained in:
parent
8507427d83
commit
6839b811f2
@ -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_
|
||||
|
Loading…
Reference in New Issue
Block a user