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

compute_boundary_facets returns booleans? #70

Closed
RemDelaporteMathurin opened this issue Mar 25, 2022 · 0 comments · Fixed by #75
Closed

compute_boundary_facets returns booleans? #70

RemDelaporteMathurin opened this issue Mar 25, 2022 · 0 comments · Fixed by #75

Comments

@RemDelaporteMathurin
Copy link
Contributor

In the first demo, the function dolfinx.mesh.compute_boundary_facets is said to return an array of booleans where it seems to return 0 or 1. Should it be fixed? or is it something I got wrong?

... using dolfinx.mesh.compute_boundary_facets. This function returns an array of booleans of the same size as the number of facets on this processor, where True indicates that the local facet is on the boundary

Thanks for the tutorial!

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