Barrier for the Dirichlet problem (source code)

= Barrier for the Dirichlet problem

A barrier at $z\in\partial\Omega$ is a continuous superharmonic function that vanishes at $z$ and is strictly positive at every other point of the closure. It forces the Perron solution to converge to its prescribed boundary value at $z$.