mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add cause_of_failure for LinearSolverProblem
This commit is contained in:
@@ -251,6 +251,7 @@ namespace Opm {
|
|||||||
}
|
}
|
||||||
catch (const Opm::LinearSolverProblem& e) {
|
catch (const Opm::LinearSolverProblem& e) {
|
||||||
substepReport += solver.failureReport();
|
substepReport += solver.failureReport();
|
||||||
|
cause_of_failure = "Linear Solver convergence failure";
|
||||||
|
|
||||||
detail::logException(e, solver_verbose_);
|
detail::logException(e, solver_verbose_);
|
||||||
// since linearIterations is < 0 this will restart the solver
|
// since linearIterations is < 0 this will restart the solver
|
||||||
|
|||||||
Reference in New Issue
Block a user