mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-24 14:47:44 -05:00
Add cause_of_failure for NumericalProblem
This commit is contained in:
1 parent
073e4ce839
commit
2976b62d75
1 file changed
+1
@@ -258,6 +258,7 @@ namespace Opm {
|
|||||||
}
|
}
|
||||||
catch (const Opm::NumericalProblem& e) {
|
catch (const Opm::NumericalProblem& e) {
|
||||||
substepReport += solver.failureReport();
|
substepReport += solver.failureReport();
|
||||||
|
cause_of_failure = "Solver convergence failure - Numerical problem encountered";
|
||||||
|
|
||||||
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