Fast-multipole accelerated singular boundary method for large-scale three-dimensional potential problems. (November 2015)