Simulation of rockfalls triggered by earthquakes