Peridynamic modeling of quasibrittle structures