Adding some comments before calling stablizeNewton.

This commit is contained in:
Kai Bao
2014-05-23 14:25:58 +02:00
parent bb22f3572d
commit 508a0c11ef
@@ -320,6 +320,8 @@ 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.
stablizeNewton(dx, dxOld, omega, relaxtype);
updateState(dx, x, xw);