Replies: 1 comment 1 reply
-
My initial line of thought was that the geometry is quite independent from any other information and that a caller may only have the global id available. Looking at it from a different angle, your points are valid. Also
Maybe indices of ghost trees might be an issue... I would suggest trying to change it to local and see if it breaks. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We usually iterate over local elements, and request process local information. Apart from functions that are use to create a cmesh (set_vertices etc.) we should always use a local tree id in my opinion. Otherwise it results in multiple calls of
t8_cmesh_get_global/local_id
. Is there another good reason to use global ids in function that are not used to create cmeshes?Beta Was this translation helpful? Give feedback.
All reactions