refactor(poly): minor comment cleaning up
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user