Seismic performance of a high-rise building by using linear and nonlinear methods