From f20716eaf32d11c8721e7783e67febfeedf6a9ac Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Tue, 25 Jul 2023 15:01:44 +0200 Subject: [PATCH] Rename LinearTimeSteppingBreakdown to TimeSteppingBreakdown. --- opm/simulators/flow/FlowMainEbos.hpp | 2 +- opm/simulators/timestepping/AdaptiveTimeSteppingEbos.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/simulators/flow/FlowMainEbos.hpp b/opm/simulators/flow/FlowMainEbos.hpp index 4734e33b5..a9975c798 100644 --- a/opm/simulators/flow/FlowMainEbos.hpp +++ b/opm/simulators/flow/FlowMainEbos.hpp @@ -362,7 +362,7 @@ void handleExtraConvergenceOutput(SimulatorReport& report, } return exitCode; } - catch (const LinearTimeSteppingBreakdown& e) { + catch (const TimeSteppingBreakdown& e) { auto exitCode = logger(e, "Simulation aborted: "); executeCleanup_(); return exitCode; diff --git a/opm/simulators/timestepping/AdaptiveTimeSteppingEbos.hpp b/opm/simulators/timestepping/AdaptiveTimeSteppingEbos.hpp index 160f22a60..52f904e3e 100644 --- a/opm/simulators/timestepping/AdaptiveTimeSteppingEbos.hpp +++ b/opm/simulators/timestepping/AdaptiveTimeSteppingEbos.hpp @@ -582,7 +582,7 @@ std::set consistentlyFailingWells(const std::vector& sr OpmLog::error(msg); } // Use throw directly to prevent file and line - throw LinearTimeSteppingBreakdown{msg}; + throw TimeSteppingBreakdown{msg}; } // The new, chopped timestep. @@ -599,7 +599,7 @@ std::set consistentlyFailingWells(const std::vector& sr OpmLog::error(msg); } // Use throw directly to prevent file and line - throw LinearTimeSteppingBreakdown{msg}; + throw TimeSteppingBreakdown{msg}; } // Define utility function for chopping timestep.