AdaptiveTimeStepping: also catch ISTLError casued in AMG when time step is to large.

This commit is contained in:
Robert Kloefkorn 2015-03-10 12:47:38 +01:00
parent 4cc0f7ef6d
commit 7f6008a80e

View File

@ -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 )