Commit to save changes.

This commit is contained in:
Kai Bao 2014-05-20 15:00:49 +02:00
parent 9557db4c15
commit 0e244a4845

View File

@ -306,6 +306,9 @@ namespace {
std::cin.ignore();
V dxOld = V::Zero(linearSize);
bool isOscillate;
bool isStagnat;
while ((!converged) && (it < maxit)) {
V dx = solveJacobianSystem();
@ -320,6 +323,8 @@ namespace {
residual_history.push_back(rLpInfinity);
}
const double relaxRelTol = 0.2;
converged = getConvergence(dt);
it += 1;