Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meshpy.tet.build's insert_points keyword argument isn't implemented? #68

Open
sampotter opened this issue Jul 19, 2021 · 1 comment
Open

Comments

@sampotter
Copy link

I'd like to use TetGen through meshpy. I have a PLC describing my domain's boundary, and I'd like to add some additional points (in the interior of the domain) to the mesh, so that after meshing I'll have a mesh which satisfies a maximum volume constraint on the tetrahedra, and which will additionally include my extra points among the mesh's vertices.

I believe the way to do this is by using the feature described in section 4.2.8 of TetGen's manual.

Judging from the documentation for meshpy.tet.build from these docs, it appears that build takes a keyword argument insert_points which is a MeshInfo specifying the extra points. I checked the implementation of build in the source, and insert_points doesn't appear to be used for anything other than setting a flag in options at the moment.

I'm also not sure how to use insert_points. Something like this?

main_info = ... # set up this MeshInfo already...
insert_info = MeshInfo()
insert_info.set_points([my_special_point])
mesh = build(main_info, ..., insert_points=insert_info)
@sampotter
Copy link
Author

Oops, should have looked more closely at the other issues... This is a duplicate of #60.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant