mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ISTLSolverEbos: throw NumericalIssue
instead of LinearSolverProblem
the former is caught by `ebos`, while the latter isn't. Alternatively, this can be fixed by deriving `LinearSolverProblem` from `NumericalIssue`, if preferred.
This commit is contained in:
parent
b60305082d
commit
21f5c1fbd3
@ -534,7 +534,7 @@ protected:
|
|||||||
// Check for failure of linear solver.
|
// Check for failure of linear solver.
|
||||||
if (!parameters_.ignoreConvergenceFailure_ && !result.converged) {
|
if (!parameters_.ignoreConvergenceFailure_ && !result.converged) {
|
||||||
const std::string msg("Convergence failure for linear solver.");
|
const std::string msg("Convergence failure for linear solver.");
|
||||||
OPM_THROW_NOLOG(LinearSolverProblem, msg);
|
OPM_THROW_NOLOG(NumericalIssue, msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user