2D Poisson boundary-value problem
−∇²u = f on Ω=[0,1]²
u = 0 on ∂ΩMATRIX-FREE 5-POINT FINITE-DIFFERENCE STENCIL
u = 0 on ∂ΩMATRIX-FREE 5-POINT FINITE-DIFFERENCE STENCIL
The default 64×64 grid has 3,844 interior unknowns. The source contains two localized terms plus a smooth sinusoidal component so the solution is not a one-mode toy.