mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-29 04:23:48 -06:00
Use regularised Jacobian when solving pressure system.
This commit is contained in:
parent
cd9c9d5cde
commit
dddb30b5a5
@ -260,7 +260,7 @@ int main()
|
||||
M matr = residual.derivative()[0];
|
||||
matr.coeffRef(0,0) *= 2.0;
|
||||
matr.makeCompressed();
|
||||
solver.compute(residual.derivative()[0]);
|
||||
solver.compute(matr);
|
||||
// if (solver.info() != Eigen::Succeeded) {
|
||||
// std::cerr << "Decomposition error!\n";
|
||||
// return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user