mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Removes multiple problem logging for linear solver convergence failure
This commit is contained in:
@@ -446,9 +446,6 @@ namespace Opm
|
||||
// Check for failure of linear solver.
|
||||
if (!parameters_.ignoreConvergenceFailure_ && !result.converged) {
|
||||
const std::string msg("Convergence failure for linear solver.");
|
||||
if (isIORank_) {
|
||||
OpmLog::problem(msg);
|
||||
}
|
||||
OPM_THROW_NOLOG(LinearSolverProblem, msg);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -370,7 +370,7 @@ namespace Opm {
|
||||
substepTimer.provideTimeStepEstimate( newTimeStep );
|
||||
if( solver_verbose_ ) {
|
||||
std::string msg;
|
||||
msg = cause_of_failure + "\n Timestep chopped to "
|
||||
msg = cause_of_failure + "\nTimestep chopped to "
|
||||
+ std::to_string(unit::convert::to( substepTimer.currentStepLength(), unit::day )) + " days\n";
|
||||
OpmLog::problem(msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user