An efficient semi-analytical method to compute displacements and stresses in an elastic half-space with a hemispherical pit