Static analysis of 3D damaged solids and structures by BEM