Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenSol committed Dec 2, 2024
1 parent 595a3f1 commit 1535886
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,16 +251,16 @@ public void stabilityAnalysis() throws neqsim.util.exception.IsNaNException,
deltalogWi[i] = logWi[i] - oldlogw[i];
clonedSystem.getPhase(j).getComponent(i).setx(Wi[j][i] / sumw[j]);
}
//logger.info("fnorm " + f.norm1() + " err " + error[j] + " iterations " + iterations
// + " phase " + j);
// logger.info("fnorm " + f.norm1() + " err " + error[j] + " iterations " + iterations
// + " phase " + j);
} while ((f.norm1() > 1e-6 && iterations < maxiterations && error[j] > 1e-6)
|| (iterations % 70) == 0 || iterations < 3);
|| (iterations % 7) == 0 || iterations < 3);
// (error[j]<oldErr && oldErr<oldOldErr) &&
// logger.info("err " + error[j]);
// logger.info("iterations " + iterations);
// logger.info("f.norm1() " + f.norm1());
if (iterations >= maxiterations) {
//logger.error("err staability check " + error[j]);
// logger.error("err staability check " + error[j]);
throw new neqsim.util.exception.TooManyIterationsException("too many iterations", null,
maxiterations);
}
Expand Down

0 comments on commit 1535886

Please sign in to comment.