First page Back Continue Last page Graphics
Illustrative example:
5-Point 2-D Stencil
Input: 2D array of values with boundary conditions
In each iteration, each array element is computed as the average of itself and its neighbors(average on 5 points)
Iterations are repeated till some threshold difference value is reached