Title: 2D/3D Boundary Element Programming in Petroleum Engineering and Geomechanics