A boundary elements approach to identify boundary conditions for three-dimensional elastic solids