A contact-based constitutive model for the numerical analysis of masonry structures using the distinct element method | Synapse