Note
Go to the end to download the full example code.
2.2.1 Solving Laplace’s equation in 2d
This example shows how to solve a 2d Laplace equation with spatially varying boundary conditions.

Total running time of the script: (0 minutes 0.476 seconds)