mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #4756 from blattms/rename-time-step-breakdown
Rename LinearTimeSteppingBreakdown to TimeSteppingBreakdown.
This commit is contained in:
commit
2429a8ad1b
@ -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;
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user