A finite element recovery approach to Green's function approximations with applications to electrostatic potential computation