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

Add to_mesh for generalization #14

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

dannys4
Copy link

@dannys4 dannys4 commented Feb 15, 2023

I thought I'd put up a PR for a helpful tool that I believe is fairly generic. This adds a function, to_mesh, which returns a matrix of vertices and a matrix of triangles. While it's not the most efficient, it's fast enough for small problems particularly with distmesh-style triangulations (it scales polynomially with the number of triangles attached to each vertex, which distmesh tends to cut down on).

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

Successfully merging this pull request may close these issues.

1 participant