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

[Development] Raise a better exception when remeshing fails #253

Closed
sblauth opened this issue Jun 15, 2023 · 0 comments · Fixed by #283
Closed

[Development] Raise a better exception when remeshing fails #253

sblauth opened this issue Jun 15, 2023 · 0 comments · Fixed by #283
Assignees
Milestone

Comments

@sblauth
Copy link
Owner

sblauth commented Jun 15, 2023

At the moment, when someone uses remeshing and uses one mesh in their scripts but specify another one in the config file, remeshing fails with an error like: IndexError: index 23110 is out of bounds for axis 0 with size 23110.

Suggestion: Check the number of vertices and cells to verify that the meshes could be compatible for remeshing. Raise a more obvious exception then.

Question: Would it even be possible to verify that the meshes are identical? Because same number of vertices and cells does not guaranteee that the meshes are identical.

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 a pull request may close this issue.

1 participant