On the description of localization and failure phenomena by the boundary element method