Upgraded formulations for the onset of local mechanisms in multi-storey masonry buildings using limit analysis. (June 2021)