Merge pull request #4756 from blattms/rename-time-step-breakdown

Rename LinearTimeSteppingBreakdown to TimeSteppingBreakdown.
This commit is contained in:
Markus Blatt 2023-07-26 09:49:28 +02:00 committed by GitHub
commit 2429a8ad1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -362,7 +362,7 @@ void handleExtraConvergenceOutput(SimulatorReport& report,
} }
return exitCode; return exitCode;
} }
catch (const LinearTimeSteppingBreakdown& e) { catch (const TimeSteppingBreakdown& e) {
auto exitCode = logger(e, "Simulation aborted: "); auto exitCode = logger(e, "Simulation aborted: ");
executeCleanup_(); executeCleanup_();
return exitCode; return exitCode;

View File

@ -582,7 +582,7 @@ std::set<std::string> consistentlyFailingWells(const std::vector<StepReport>& sr
OpmLog::error(msg); OpmLog::error(msg);
} }
// Use throw directly to prevent file and line // Use throw directly to prevent file and line
throw LinearTimeSteppingBreakdown{msg}; throw TimeSteppingBreakdown{msg};
} }
// The new, chopped timestep. // The new, chopped timestep.
@ -599,7 +599,7 @@ std::set<std::string> consistentlyFailingWells(const std::vector<StepReport>& sr
OpmLog::error(msg); OpmLog::error(msg);
} }
// Use throw directly to prevent file and line // Use throw directly to prevent file and line
throw LinearTimeSteppingBreakdown{msg}; throw TimeSteppingBreakdown{msg};
} }
// Define utility function for chopping timestep. // Define utility function for chopping timestep.