Refine mesh at a point located on the boundary of a surface
Hello,
I am working with the gmsh python API to generate a 2D mesh. I would like to be able to refine my mesh at certain points. When these points are situated inside surfaces I add a point where I want to refine my mesh and use the embed method (gmsh.model.mesh.embed) to force a mesh node at the location of the added point. I can then modify the the mesh size at the added point. However, I noticed in the documentation that the embed method can only be used to embed into surfaces or volumes. Therefore, if I want to refine my mesh at the boundary of a surface (a line) I cannot use this approach. Is there some other way to refine the mesh at a point situated on a line? I have attempted to use the fragment method (gmsh.model.occ.fragment) which, to my understanding, can be used to embed points into lines. However even with this method, I cannot force a mesh node at the location of the added point on a line.