# How does GMSH adopt PML boundary absorption

**URL:** <https://community.geodynamics.org/t/how-does-gmsh-adopt-pml-boundary-absorption/1381>\
**Category:** SPECFEM\
**Tags:** specfem2d\
**Created:** [August 5, 2020, 3:40pm UTC](https://community.geodynamics.org/t/how-does-gmsh-adopt-pml-boundary-absorption/1381 "2020-08-05T15:40:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zrs12](https://avatars.discourse-cdn.com/v4/letter/z/e480ec/32.png) [@zrs12](https://community.geodynamics.org/u/zrs12)\
**Post date:** [August 5, 2020, 3:40pm UTC](https://community.geodynamics.org/t/how-does-gmsh-adopt-pml-boundary-absorption/1381/1 "2020-08-05T15:40:25Z")

</div>

Hi there ,  
I am trying to use GMSH for partition,  
here,I did it this way，python LibGmsh2Specfem\_convert\_Gmsh\_to\_Specfem2D\_official.py test.msh -t F -l A -b A -r A  
but the boundary reflection is a bit obvious, I see that PML boundary conditions can be used in the script, so how can I use PML boundary absorption when applying to the script ，LibGmsh2Specfem\_convert\_Gmsh\_to\_Specfem2D\_official.py?

Thanks very much.

zhang
