fedoo.DataSet.global_element_location

DataSet.global_element_location(element_id: int) tuple[int, int]

Return (submesh_id, local_element_id) for a global element id.

For regular Mesh datasets, the returned submesh id is always 0. For MultiMesh datasets, global element ids follow the same concatenated order used by to_pyvista and multimesh plotting: all elements of submesh 0, then all elements of submesh 1, and so on.