Transforming Domain into Boundary Integrals in BEM