Accessing internal and external faces using the unique_cell iterator #8680
Unanswered
CristinaGL
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm working with a periodic triangulation and trying to identify the faces located at the periodic boundary as well as the interior faces. Currently, I'm using the following approach, but it's extremely inefficient:
As you can see, the algorithm involves checking all unique cells for each face, which is very slow for large datasets.
Is there a more efficient way to identify periodic boundary faces without having to loop over all unique cells for each face? I would greatly appreciate any suggestions or improvements to this approach.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions