Do you have a source for the method you are using to enforce damping on the boundary, or at least more information on it?
Contrary to the comments in the code, it doesn't appear to be PML, yet it seems surprisingly effective and simple.
Thank you for your help!