Seismic response under repeated earthquakes