Suppressing artificial reflections with absorber and PML boundaries