Absorbing boundary conditions for acoustic and elastic wave equations | Synapse