refactor(poly): minor comment cleaning up

This commit is contained in:
2025-06-03 08:11:01 -04:00
parent 56e5144d97
commit 2e9de49f88
3 changed files with 7 additions and 9 deletions

View File

@@ -195,9 +195,7 @@ void PolySolver::solve() const {
const solverBundle sb = setupNewtonSolver();
sb.newton.Mult(zero_rhs, state_vector);
// Ax = b for x
// --- Save and view the solution ---
// --- Save and view an approximate 1D solution ---
saveAndViewSolution(state_vector);
}
@@ -405,8 +403,7 @@ solverBundle PolySolver::setupNewtonSolver() const {
solver.solver.SetMaxIter(gmresMaxIter);
solver.solver.SetPrintLevel(gmresPrintLevel);
// Preconditioner turned off because the polytrope operator seems *very* well conditioned without it
solver.solver.SetPreconditioner(m_polytropOperator->GetPreconditioner());
// solver.solver.SetPreconditioner(m_polytropOperator->GetPreconditioner());
// --- Set up the Newton solver ---
solver.newton.SetRelTol(newtonRelTol);
solver.newton.SetAbsTol(newtonAbsTol);