mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
better messages
This commit is contained in:
parent
992edc1fec
commit
6b4082a1fe
@ -435,6 +435,10 @@ std::unique_ptr<Matrix> blockJacobiAdjacency(const Grid& grid,
|
|||||||
iterations_ = result.iterations;
|
iterations_ = result.iterations;
|
||||||
converged_ = result.converged;
|
converged_ = result.converged;
|
||||||
if(result.reduction < parameters_.relaxed_linear_solver_reduction_){
|
if(result.reduction < parameters_.relaxed_linear_solver_reduction_){
|
||||||
|
std::stringstream ss;
|
||||||
|
ss<< "Full linear solver tolerance not achived. The reduction is:" << result.reduction
|
||||||
|
<< " after " << result.iterations << " iteraions ";
|
||||||
|
OpmLog::warning(ss.str());
|
||||||
converged_ = true;
|
converged_ = true;
|
||||||
}
|
}
|
||||||
// Check for failure of linear solver.
|
// Check for failure of linear solver.
|
||||||
|
Loading…
Reference in New Issue
Block a user