Spectral-domain decomposition methods for the solution of acoustic and elastic wave equations | Synapse