Explore the internal principle and performance of boundary element method by solving a simple Dirichlet problem