-
Notifications
You must be signed in to change notification settings - Fork 58
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
Labels on generated mesh #193
Comments
I am using
Note that The lines of code:
Can be used to restore the original labels. Also, in my code I am removing from the mesh information regarding all faces, because of the need of my finite element library.
@nschloe : Do you think that the relabeling of element labels should be included in |
Thanks! Turns out I arrived to a very similar solution myself. |
I am using the 'generate_from_array' function to mesh a numpy array containing labels. Everything works correctly, but I am unable to extract the labels for each of the generated tetrahedra. The medit files that are generated from the 'c3t3.output_to_medit(medit_file);' call, indeed keeps the tetrahedra labels. But cannot manage to find them from the mesh objects generated with pygalmesh.
The text was updated successfully, but these errors were encountered: