Boundary conditions for the numerical solution of wave propagation problems | Synapse