Add cause_of_failure for LinearSolverProblem

This commit is contained in:
Rohith Nair 2017-06-12 10:28:38 +02:00
parent 18dfe1783b
commit 073e4ce839

View File

@ -251,6 +251,7 @@ namespace Opm {
}
catch (const Opm::LinearSolverProblem& e) {
substepReport += solver.failureReport();
cause_of_failure = "Linear Solver convergence failure";
detail::logException(e, solver_verbose_);
// since linearIterations is < 0 this will restart the solver