Jacobi Algorithm for solving Laplace's Equation, the algorithm
Summarized, this algorithm reads
- Make an initial guess for u_{i,j} at all interior points (i,j) for all i=1:n and j=1:n
- Use Eq. (17) to compute u^{m} at all interior points (i,j) . The index m stands for iteration number m .
- Stop if prescribed convergence threshold is reached, otherwise continue to the next step.
- Update the new value of u for the given iteration
- Go to step 2