Seismic structural response from continuous and discrete models