A regularized non-smooth contact dynamics approach for architectural masonry structures. (15th July 2017)