
--- Solving for n = 16 (System size: 256 x 256) ---

Starting iterative solvers...
Running Jacobi...
Running Gauss-Seidel...
Running SOR...
Running Steepest Descent...
Running Conjugate Gradient...

--- Iteration Counts ---
Jacobi              : 1268 iterations (converged)
Gauss-Seidel        : 635 iterations (converged)
SOR                 : 71 iterations (converged)
Steepest Descent    : 1247 iterations (converged)
Conjugate Gradient  : 31 iterations (converged)

Convergence plot saved to 'problem2_convergence_n16.png'
Generating 3D surface plots of the solutions...
3D surface comparison plot saved to 'problem2_3d_solutions_n16.png'

--- Solving for n = 32 (System size: 1024 x 1024) ---

Starting iterative solvers...
Running Jacobi...
Running Gauss-Seidel...
Running SOR...
Running Steepest Descent...
Running Conjugate Gradient...

--- Iteration Counts ---
Jacobi              : 4792 iterations (converged)
Gauss-Seidel        : 2397 iterations (converged)
SOR                 : 138 iterations (converged)
Steepest Descent    : 4807 iterations (converged)
Conjugate Gradient  : 66 iterations (converged)

Convergence plot saved to 'problem2_convergence_n32.png'
Generating 3D surface plots of the solutions...
3D surface comparison plot saved to 'problem2_3d_solutions_n32.png'
