A unified model for the seismic analysis of brick masonry structures. (30th September 2018)