mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-24 10:10:18 -06:00
Rename LinearTimeSteppingBreakdown to TimeSteppingBreakdown.
This commit is contained in:
parent
d4774cc36e
commit
f20716eaf3
@ -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;
|
||||
|
@ -582,7 +582,7 @@ std::set<std::string> consistentlyFailingWells(const std::vector<StepReport>& 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<std::string> consistentlyFailingWells(const std::vector<StepReport>& sr
|
||||
OpmLog::error(msg);
|
||||
}
|
||||
// Use throw directly to prevent file and line
|
||||
throw LinearTimeSteppingBreakdown{msg};
|
||||
throw TimeSteppingBreakdown{msg};
|
||||
}
|
||||
|
||||
// Define utility function for chopping timestep.
|
||||
|
Loading…
Reference in New Issue
Block a user