Closed mchandra closed 3 years ago
Is it possible to use a distance function to implicitly define a geometry and mesh it (as in PyDishMesh)?
E.g. (from PyDistMesh),
circle = lambda p: np.sqrt((p**2).sum(1))-1.0 points, cells = dmsh.generate(circle, 0.1)
Thanks
I added a section in the main readme on how to do it. https://github.com/nschloe/dmsh#custom-shapes
Is it possible to use a distance function to implicitly define a geometry and mesh it (as in PyDishMesh)?
E.g. (from PyDistMesh),
Thanks