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