mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-02 12:36:54 -06:00
Removing some comments and debugging output.
This commit is contained in:
parent
c96637ab96
commit
f516bd6ce3
@ -311,7 +311,6 @@ namespace {
|
||||
V dx = solveJacobianSystem();
|
||||
|
||||
detectNewtonOscillations(residual_history, it, relaxRelTol(), isOscillate, isStagnate);
|
||||
std::cout << " oscillate " << isOscillate << " stagnate " << isStagnate << std::endl;
|
||||
|
||||
if (isOscillate) {
|
||||
omega -= relaxIncrement();
|
||||
@ -319,8 +318,6 @@ namespace {
|
||||
std::cout << " Oscillating behavior detected: Relaxation set to " << omega << std::endl;
|
||||
}
|
||||
|
||||
// The dxOld is updated with dx in stablizeNewton().
|
||||
// If omega is equal to 1., no relaxtion will be appiled in stablizeNewton().
|
||||
stablizeNewton(dx, dxOld, omega, relaxtype);
|
||||
|
||||
updateState(dx, x, xw);
|
||||
|
Loading…
Reference in New Issue
Block a user