Nonlocal strain-softening model of quasi-brittle materials using boundary element method