A new artificial boundary condition for numerical simulation of elastic waves