A comparative study on the approximate analysis of masonry structures