mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adding debugging output for solveWellEq
to tell if the solveWellEq is successful.
This commit is contained in:
@@ -459,7 +459,11 @@ namespace Opm {
|
||||
}
|
||||
} while (it < 15);
|
||||
|
||||
if (!converged) {
|
||||
if (converged) {
|
||||
OpmLog::debug("Well equation solution gets converged with " + std::to_string(it) + " iterations");
|
||||
} else {
|
||||
OpmLog::debug("Well equation solution failed in getting converged with " + std::to_string(it) + " iterations");
|
||||
|
||||
well_state = well_state0;
|
||||
setWellSolutions(well_state);
|
||||
// also recover the old well controls
|
||||
|
||||
Reference in New Issue
Block a user