Application of finite-part integrals to the singular integral equations of crack problems in plane and three-dimensional elasticity