mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1268 from blattms/log-wells-debug-messages-only-on-master
Log debug messages about wells only on master.
This commit is contained in:
commit
c1024ce2d1
@ -451,9 +451,13 @@ namespace Opm {
|
||||
} while (it < 15);
|
||||
|
||||
if (converged) {
|
||||
OpmLog::debug("Well equation solution gets converged with " + std::to_string(it) + " iterations");
|
||||
if ( terminal_output_ ) {
|
||||
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");
|
||||
if ( terminal_output_ ) {
|
||||
OpmLog::debug("Well equation solution failed in getting converged with " + std::to_string(it) + " iterations");
|
||||
}
|
||||
|
||||
well_state = well_state0;
|
||||
updatePrimaryVariables(well_state);
|
||||
|
Loading…
Reference in New Issue
Block a user