Seismic up-grading of masonry structures by steel braces and dissipative devices