How can I generate a tetrahedral mesh with a periodic boundary from a signed distance function in c++?
I have a highly complex signed distance function in C++, which I have represented using a lambda expression. I am interested in generating a tetrahedral mesh from this function using Gmsh. Additionally, I would like the mesh to have periodic boundaries, where the vertices on the periodic boundaries are aligned to each other.
I would appreciate guidance and recommendations on how to achieve this. Any examples or suggestions on how to handle complex signed distance functions and enforce periodic boundaries in the resulting tetrahedral mesh would be immensely helpful.
Thank you for your assistance!