mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-11 10:55:33 -06:00
AdaptiveTimeStepping: also catch ISTLError casued in AMG when time step is to large.
This commit is contained in:
parent
4cc0f7ef6d
commit
7f6008a80e
@ -148,6 +148,10 @@ namespace Opm {
|
||||
std::cerr << e.what() << std::endl;
|
||||
// also catch linear solver not converged
|
||||
}
|
||||
catch (const Dune::ISTLError& e) {
|
||||
std::cerr << e.what() << std::endl;
|
||||
// also catch errors in ISTL AMG that occur when time step is too large
|
||||
}
|
||||
|
||||
// (linearIterations < 0 means no convergence in solver)
|
||||
if( linearIterations >= 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user