Computational strategies for masonry structures