Numerical modeling of elastodynamic radiation and scattering